Skip to content

#032af8

a balanced, electric blue · cool · closest name: Blue

RGB
3, 42, 248
HSL
230°, 98%, 49%
CMYK
99, 83, 0, 3
Luminance
0.0845

At a glance

Every number on this page in one read: what #032af8 is made of, how bright it looks, and which way it leans.

Hex
#032af8
Hue
230°
blue
Saturation
98%
electric
Lightness
49%
balanced
Brightness
97%
HSV value
Perceived
35%
weighted brightness
Luminance
0.0845
WCAG relative
Temperature
Cool
89/100 cool
Color family
Blue
Tone
Electric
Best ink
White
7.81:1
Closest name
Blue
ΔE2000 3.6
Where it sits
Hue230° of 360°
Saturation98%
Lightness49%
Temperature
Warm ← → Cool89% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#032af8
RGBrgb(3, 42, 248)
HSLhsl(230, 98%, 49%)
CMYKcmyk(99%, 83%, 0%, 3%)
LABlab(34.9 66.7 -99.6)
LCHlch(34.9 119.8 303.8)
OKLCHoklch(0.467 0.290 264.4)
Decimal207608
Display P3color(display-p3 0.012 0.165 0.973)

Copy-ready code

/* CSS */
color: #032af8;
background-color: #032af8;
/* Tailwind (arbitrary) */
class="text-[#032af8] bg-[#032af8]"
/* SCSS */
$brand: #032af8;
/* SwiftUI */
Color(red: 0.012, green: 0.165, blue: 0.973)
/* Android */
Color.parseColor("#032af8")
/* Flutter */
Color(0xFF032AF8)
/* Python / OpenCV (BGR) */
(248, 42, 3)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #032af8 · 7.81:1
Use #ffffffAAA at every size.
Aa
White text · 7.81:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.69:1
AA fail · AA large fail · AAA fail
Reading the other direction: #032af8 as text scores 7.81:1 on white and 2.69:1 on black.

Accessibility — WCAG contrast

Aa
#032af8 on white: 7.81:1
AA ✓ pass · AA-large · AAA
Aa
#032af8 on black: 2.69:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005EFD
deuteranopia · #0045F5
tritanopia · #006F95

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #032af8 is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F1F3FD
#E4E7FC
#C1CAFB
#90A2FE
#5973FD
#2144FC
#032af8
#0222CA
#021BA1
#061874
#040F49
Base = 600Lightest = 50 · #F1F3FDDarkest = 950 · #040F49
:root {
  --brand-50: #F1F3FD;
  --brand-100: #E4E7FC;
  --brand-200: #C1CAFB;
  --brand-300: #90A2FE;
  --brand-400: #5973FD;
  --brand-500: #2144FC;
  --brand-600: #032af8;
  --brand-700: #0222CA;
  --brand-800: #021BA1;
  --brand-900: #061874;
  --brand-950: #040F49;
  --brand: #032af8;
  --brand-ink: #ffffff;
}

Colors that work with #032af8

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4F5FA
Tinted page background
Border#C0C7ED
Hairlines and dividers
Muted text#4B579B
Captions on the surface
Accent#CC7800
Second voice, not a rival
Dark variant#02157E
Hover, pressed, headers
Light variant#E6EAFF
Selected rows, tints
Dark surface#141624
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #032af8

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#F8D103
Analogous left#03A5F8
Analogous right#5603F8
Split-complement 1#F85603
Split-complement 2#A5F803
Triadic 1#F8032A
Triadic 2#2AF803
Tetradic#F803A5

RGB percentages

Red1.2%
Green16.5%
Blue97.3%

CMYK percentages

Cyan98.8%
Magenta83.1%
Yellow0.0%
Key (black)2.7%

Color previews

#032af8 text on a black background

contrast 2.69:1

Card sample

#032af8 text on a white background

contrast 7.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #032af8;
Background color
Panel with #032af8 background
background-color: #032af8;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #032af8;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(3, 42, 248, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(3, 42, 248, 0.45);
Border & gradient
Gradient panel
border: 3px solid #032af8;
background: linear-gradient(135deg, #032af8, #7F03F8);

Monochromatic scale

Palettes built from #032af8

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#032af8 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#032af8, answered

What color is #032af8?

#032af8 is a balanced electric blue, closest to Blue (ΔE2000 3.6). It sits at 230° on the hue wheel with 98% saturation and 49% lightness, which reads as cool.

What is the RGB value of #032af8?

rgb(3, 42, 248) — 3 red, 42 green and 248 blue out of 255, or 1.2% / 16.5% / 97.3% by channel.

Is #032af8 a light or a dark color?

It is a dark color. Relative luminance is 0.0845 and perceived brightness is 35%, so white text on it reaches 7.81:1.

Should I use black or white text on #032af8?

White. It scores 7.81:1 against #032af8, versus 2.69:1 for black — AAA at any size.

What is the complementary color of #032af8?

#F8D103 sits directly opposite on the wheel. Softer options are the split-complements #F85603 and #A5F803, which give the same contrast with far less vibration.

What colors go well with #032af8?

For interface work: #F4F5FA as the surface, #C0C7ED for borders, #4B579B for secondary text, #CC7800 as an accent and #02157E for hover and pressed states. For a palette, the analogous pair #03A5F8 and #5603F8 stays calm, while #F8D103 is the loudest partner.

What is #032af8 in CMYK for printing?

cmyk(99%, 83%, 0%, 3%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #032af8 warm or cool?

Cool — it scores 89 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3603F8; nudged cooler, #014BFA.

Work with #032af8 in the Color Lab