#2F32A6#2F32A6
#2F32A6 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.181 H 273.5°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2F32A6 |
|---|---|
| RGB | rgb(47, 50, 166) |
| HSL | hsl(238, 56%, 42%) |
| HSV | hsv(238, 72%, 65%) |
| CMYK | cmyk(71.7%, 69.9%, 0%, 34.9%) |
| CIE-LAB | lab(28.48, 37.80, -62.46) |
| CIE-LCH | lch(28.48, 73.01, 301.18°) |
| OKLab | oklab(39.92% 0.011 -0.1806) |
| OKLCH | oklch(39.92% 0.181 273.5) |
| XYZ | xyz(9.1935, 5.6378, 36.6727) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.46
Blueberry
#464196
ΔE00 5.76
Indigo Blue
#3A18B1
ΔE00 5.85
Ocean Blue
#4F42B5
ΔE00 5.96
Blue Blue
#2242C7
ΔE00 6.23
Darkslateblue
#483D8B
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F32A6 #A6A32F
analogous
#2F6EA6 #2F32A6 #672FA6
triadic
#2F32A6 #A62F32 #32A62F
tetradic
#2F32A6 #A62F6E #A6A32F #2FA667
square
#2F32A6 #A62F6E #A6A32F #2FA667
split-complementary
#2F32A6 #A6672F #6EA62F
monochromatic
#141547 #212476 #2F32A6 #474BCB #7779D8
Accessibility & contrast
On white
9.87
#2F32A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#2F32A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F32A6
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F32A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F32A6 | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#003EA4
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2f32a6; /* rgb */ color: rgb(47, 50, 166); /* oklch */ color: oklch(39.9% 0.181 273.5);
Tailwind
colors: {
custom: {
50: '#796bc2',
500: '#2f32a6',
950: '#000000',
},
}SCSS
$custom: #2f32a6; $custom-light: #796bc2; $custom-dark: #000000;
JSON
{
"hex": "#2f32a6",
"rgb": {
"r": 47,
"g": 50,
"b": 166
},
"hsl": {
"h": 238.487,
"s": 55.869,
"l": 41.765
},
"oklch": {
"l": 0.39916,
"c": 0.18091,
"h": 273.5
},
"luminance": 0.05639
}Semantic roles & 50–950 ramp
primary
#2F32A6
secondary
#C1BF70
accent
#DB49DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81