#2F32A7#2F32A7
#2F32A7 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.0% C 0.182 H 273.4°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2F32A7 |
|---|---|
| RGB | rgb(47, 50, 167) |
| HSL | hsl(239, 56%, 42%) |
| HSV | hsv(239, 72%, 65%) |
| CMYK | cmyk(71.9%, 70.1%, 0%, 34.5%) |
| CIE-LAB | lab(28.58, 38.14, -62.91) |
| CIE-LCH | lch(28.58, 73.57, 301.23°) |
| OKLab | oklab(40.02% 0.0108 -0.1819) |
| OKLCH | oklch(40.02% 0.182 273.4) |
| XYZ | xyz(9.2856, 5.6747, 37.1577) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.44
Indigo Blue
#3A18B1
ΔE00 5.79
Blueberry
#464196
ΔE00 5.82
Ocean Blue
#4F42B5
ΔE00 5.90
Blue Blue
#2242C7
ΔE00 6.14
Darkslateblue
#483D8B
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F32A7 #A7A42F
analogous
#2F6EA7 #2F32A7 #682FA7
triadic
#2F32A7 #A72F32 #32A72F
tetradic
#2F32A7 #A72F6E #A7A42F #2FA768
square
#2F32A7 #A72F6E #A7A42F #2FA768
split-complementary
#2F32A7 #A7682F #6EA72F
monochromatic
#141547 #222477 #2F32A7 #484BCB #787AD9
Accessibility & contrast
On white
9.84
#2F32A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2F32A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F32A7
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F32A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F32A7 | 1.00 | 9.84 | 2.14 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#003EA5
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2f32a7; /* rgb */ color: rgb(47, 50, 167); /* oklch */ color: oklch(40.0% 0.182 273.4);
Tailwind
colors: {
custom: {
50: '#796bc2',
500: '#2f32a7',
950: '#000000',
},
}SCSS
$custom: #2f32a7; $custom-light: #796bc2; $custom-dark: #000000;
JSON
{
"hex": "#2f32a7",
"rgb": {
"r": 47,
"g": 50,
"b": 167
},
"hsl": {
"h": 238.5,
"s": 56.075,
"l": 41.961
},
"oklch": {
"l": 0.40015,
"c": 0.1822,
"h": 273.4
},
"luminance": 0.05676
}Semantic roles & 50–950 ramp
primary
#2F32A7
secondary
#C1BF71
accent
#DC48DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82