#2F299B#2F299B
#2F299B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.177 H 275.9°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2F299B |
|---|---|
| RGB | rgb(47, 41, 155) |
| HSL | hsl(243, 58%, 38%) |
| HSV | hsv(243, 74%, 61%) |
| CMYK | cmyk(69.7%, 73.5%, 0%, 39.2%) |
| CIE-LAB | lab(25.43, 39.44, -60.80) |
| CIE-LCH | lch(25.43, 72.47, 302.97°) |
| OKLab | oklab(37.4% 0.0183 -0.1757) |
| OKLCH | oklch(37.4% 0.177 275.9) |
| XYZ | xyz(7.8797, 4.5561, 31.4681) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.68
Indigo Blue
#3A18B1
ΔE00 4.68
Sapphire (survey)
#2138AB
ΔE00 4.95
Cobalt Blue
#030AA7
ΔE00 5.94
Royal Blue (survey)
#0504AA
ΔE00 6.42
Ultramarine
#2000B1
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F299B #959B29
analogous
#295C9B #2F299B #68299B
triadic
#2F299B #9B2F29 #299B2F
tetradic
#2F299B #9B295C #959B29 #299B68
square
#2F299B #9B295C #959B29 #299B68
split-complementary
#2F299B #9B6829 #5C9B29
monochromatic
#120F3A #201C6B #2F299B #3F37CA #6D67D7
Accessibility & contrast
On white
10.99
#2F299B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2F299B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F299B
10.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F299B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F299B | 1.00 | 10.99 | 1.91 | 10.99 |
| #FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f299b; /* rgb */ color: rgb(47, 41, 155); /* oklch */ color: oklch(37.4% 0.177 275.9);
Tailwind
colors: {
custom: {
50: '#7764ba',
500: '#2f299b',
950: '#000000',
},
}SCSS
$custom: #2f299b; $custom-light: #7764ba; $custom-dark: #000000;
JSON
{
"hex": "#2f299b",
"rgb": {
"r": 47,
"g": 41,
"b": 155
},
"hsl": {
"h": 243.158,
"s": 58.163,
"l": 38.431
},
"oklch": {
"l": 0.37402,
"c": 0.17665,
"h": 275.9
},
"luminance": 0.04557
}Semantic roles & 50–950 ramp
primary
#2F299B
secondary
#B8BD63
accent
#E146D9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81