#2F2089#2F2089
#2F2089 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.163 H 279.8°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2089 |
|---|---|
| RGB | rgb(47, 32, 137) |
| HSL | hsl(249, 62%, 33%) |
| HSV | hsv(249, 77%, 54%) |
| CMYK | cmyk(65.7%, 76.6%, 0%, 46.3%) |
| CIE-LAB | lab(21.74, 38.64, -55.75) |
| CIE-LCH | lch(21.74, 67.83, 304.73°) |
| OKLab | oklab(34.23% 0.0279 -0.1609) |
| OKLCH | oklch(34.23% 0.163 279.8) |
| XYZ | xyz(6.2027, 3.4430, 23.9998) |
| Luminance | 0.0344 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.52
Midnight Blue
#191970
ΔE00 4.69
Indigo (survey)
#380282
ΔE00 5.16
Cobalt Blue
#030AA7
ΔE00 5.73
Indigo Blue
#3A18B1
ΔE00 5.96
Darkblue
#00008B
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2089 #7A8920
analogous
#204689 #2F2089 #632089
triadic
#2F2089 #892F20 #20892F
tetradic
#2F2089 #892046 #7A8920 #208963
square
#2F2089 #892046 #7A8920 #208963
split-complementary
#2F2089 #896320 #468920
monochromatic
#0D0926 #1E1457 #2F2089 #402CBB #614ED6
Accessibility & contrast
On white
12.43
#2F2089 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2F2089 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2089
12.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2089 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2089 | 1.00 | 12.43 | 1.69 | 12.43 |
| #FFFFFF | 12.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2f2089; /* rgb */ color: rgb(47, 32, 137); /* oklch */ color: oklch(34.2% 0.163 279.8);
Tailwind
colors: {
custom: {
50: '#745eac',
500: '#2f2089',
950: '#000000',
},
}SCSS
$custom: #2f2089; $custom-light: #745eac; $custom-dark: #000000;
JSON
{
"hex": "#2f2089",
"rgb": {
"r": 47,
"g": 32,
"b": 137
},
"hsl": {
"h": 248.571,
"s": 62.13,
"l": 33.137
},
"oklch": {
"l": 0.34225,
"c": 0.16331,
"h": 279.8
},
"luminance": 0.03444
}Semantic roles & 50–950 ramp
primary
#2F2089
secondary
#A9B94C
accent
#E543CE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F