#2F32B5#2F32B5
#2F32B5 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.4% C 0.200 H 272.5°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2F32B5 |
|---|---|
| RGB | rgb(47, 50, 181) |
| HSL | hsl(239, 59%, 45%) |
| HSV | hsv(239, 74%, 71%) |
| CMYK | cmyk(74%, 72.4%, 0%, 29%) |
| CIE-LAB | lab(29.96, 42.94, -69.01) |
| CIE-LCH | lch(29.96, 81.28, 301.89°) |
| OKLab | oklab(41.43% 0.0088 -0.1997) |
| OKLCH | oklch(41.43% 0.2 272.5) |
| XYZ | xyz(10.6506, 6.2206, 44.3465) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.97
Blue Blue
#2242C7
ΔE00 5.11
Ocean Blue
#4F42B5
ΔE00 5.36
Indigo Blue
#3A18B1
ΔE00 5.43
Blue With A Hint Of Purple
#533CC6
ΔE00 5.53
Blurple
#5539CC
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F32B5 #B5B22F
analogous
#2F75B5 #2F32B5 #6F2FB5
triadic
#2F32B5 #B52F32 #32B52F
tetradic
#2F32B5 #B52F75 #B5B22F #2FB56F
square
#2F32B5 #B52F75 #B5B22F #2FB56F
split-complementary
#2F32B5 #B56F2F #75B52F
monochromatic
#161754 #222584 #2F32B5 #5053D1 #8082DE
Accessibility & contrast
On white
9.36
#2F32B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2F32B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F32B5
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F32B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F32B5 | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0040B3
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f32b5; /* rgb */ color: rgb(47, 50, 181); /* oklch */ color: oklch(41.4% 0.200 272.5);
Tailwind
colors: {
custom: {
50: '#7d6bcc',
500: '#2f32b5',
950: '#000000',
},
}SCSS
$custom: #2f32b5; $custom-light: #7d6bcc; $custom-dark: #000000;
JSON
{
"hex": "#2f32b5",
"rgb": {
"r": 47,
"g": 50,
"b": 181
},
"hsl": {
"h": 238.657,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.41427,
"c": 0.19986,
"h": 272.5
},
"luminance": 0.06222
}Semantic roles & 50–950 ramp
primary
#2F32B5
secondary
#C7C579
accent
#DE46E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82