#2F32A1#2F32A1
#2F32A1 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.174 H 273.8°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2F32A1 |
|---|---|
| RGB | rgb(47, 50, 161) |
| HSL | hsl(238, 55%, 41%) |
| HSV | hsv(238, 71%, 63%) |
| CMYK | cmyk(70.8%, 68.9%, 0%, 36.9%) |
| CIE-LAB | lab(28.00, 36.05, -60.23) |
| CIE-LCH | lch(28.00, 70.19, 300.91°) |
| OKLab | oklab(39.43% 0.0116 -0.174) |
| OKLCH | oklch(39.43% 0.174 273.8) |
| XYZ | xyz(8.7438, 5.4579, 34.3040) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.65
Blueberry
#464196
ΔE00 5.47
Indigo Blue
#3A18B1
ΔE00 6.17
Darkslateblue
#483D8B
ΔE00 6.23
Ocean Blue
#4F42B5
ΔE00 6.28
Blue Blue
#2242C7
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F32A1 #A19E2F
analogous
#2F6BA1 #2F32A1 #652FA1
triadic
#2F32A1 #A12F32 #32A12F
tetradic
#2F32A1 #A12F6B #A19E2F #2FA165
square
#2F32A1 #A12F6B #A19E2F #2FA165
split-complementary
#2F32A1 #A1652F #6BA12F
monochromatic
#131542 #212372 #2F32A1 #4548C9 #7477D6
Accessibility & contrast
On white
10.04
#2F32A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#2F32A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F32A1
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F32A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F32A1 | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#003D9F
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2f32a1; /* rgb */ color: rgb(47, 50, 161); /* oklch */ color: oklch(39.4% 0.174 273.8);
Tailwind
colors: {
custom: {
50: '#786abe',
500: '#2f32a1',
950: '#000000',
},
}SCSS
$custom: #2f32a1; $custom-light: #786abe; $custom-dark: #000000;
JSON
{
"hex": "#2f32a1",
"rgb": {
"r": 47,
"g": 50,
"b": 161
},
"hsl": {
"h": 238.421,
"s": 54.808,
"l": 40.784
},
"oklch": {
"l": 0.39426,
"c": 0.17443,
"h": 273.8
},
"luminance": 0.05459
}Semantic roles & 50–950 ramp
primary
#2F32A1
secondary
#BEBC6E
accent
#DA4ADE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81