#2F299C#2F299C
#2F299C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.178 H 275.8°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2F299C |
|---|---|
| RGB | rgb(47, 41, 156) |
| HSL | hsl(243, 58%, 39%) |
| HSV | hsv(243, 74%, 61%) |
| CMYK | cmyk(69.9%, 73.7%, 0%, 38.8%) |
| CIE-LAB | lab(25.53, 39.77, -61.24) |
| CIE-LCH | lch(25.53, 73.02, 303.00°) |
| OKLab | oklab(37.51% 0.0181 -0.177) |
| OKLCH | oklch(37.51% 0.178 275.8) |
| XYZ | xyz(7.9640, 4.5898, 31.9123) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.58
Royal
#0C1793
ΔE00 4.71
Sapphire (survey)
#2138AB
ΔE00 4.89
Cobalt Blue
#030AA7
ΔE00 5.89
Royal Blue (survey)
#0504AA
ΔE00 6.37
Ultramarine
#2000B1
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F299C #969C29
analogous
#295C9C #2F299C #68299C
triadic
#2F299C #9C2F29 #299C2F
tetradic
#2F299C #9C295C #969C29 #299C68
square
#2F299C #9C295C #969C29 #299C68
split-complementary
#2F299C #9C6829 #5C9C29
monochromatic
#12103B #201C6C #2F299C #3F38CB #6E68D7
Accessibility & contrast
On white
10.95
#2F299C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2F299C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F299C
10.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F299C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F299C | 1.00 | 10.95 | 1.92 | 10.95 |
| #FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#00379A
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f299c; /* rgb */ color: rgb(47, 41, 156); /* oklch */ color: oklch(37.5% 0.178 275.8);
Tailwind
colors: {
custom: {
50: '#7864ba',
500: '#2f299c',
950: '#000000',
},
}SCSS
$custom: #2f299c; $custom-light: #7864ba; $custom-dark: #000000;
JSON
{
"hex": "#2f299c",
"rgb": {
"r": 47,
"g": 41,
"b": 156
},
"hsl": {
"h": 243.13,
"s": 58.376,
"l": 38.627
},
"oklch": {
"l": 0.37505,
"c": 0.17792,
"h": 275.8
},
"luminance": 0.04591
}Semantic roles & 50–950 ramp
primary
#2F299C
secondary
#B9BE63
accent
#E246D9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81