#2F299F#2F299F
#2F299F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.182 H 275.5°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2F299F |
|---|---|
| RGB | rgb(47, 41, 159) |
| HSL | hsl(243, 59%, 39%) |
| HSV | hsv(243, 74%, 62%) |
| CMYK | cmyk(70.4%, 74.2%, 0%, 37.6%) |
| CIE-LAB | lab(25.84, 40.78, -62.56) |
| CIE-LCH | lch(25.84, 74.68, 303.09°) |
| OKLab | oklab(37.82% 0.0175 -0.1808) |
| OKLCH | oklch(37.82% 0.182 275.5) |
| XYZ | xyz(8.2212, 4.6927, 33.2667) |
| Luminance | 0.0469 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.29
Sapphire (survey)
#2138AB
ΔE00 4.76
Royal
#0C1793
ΔE00 4.83
Cobalt Blue
#030AA7
ΔE00 5.79
Ultramarine
#2000B1
ΔE00 6.22
Royal Blue (survey)
#0504AA
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F299F #999F29
analogous
#295E9F #2F299F #6A299F
triadic
#2F299F #9F2F29 #299F2F
tetradic
#2F299F #9F295E #999F29 #299F6A
square
#2F299F #9F295E #999F29 #299F6A
split-complementary
#2F299F #9F6A29 #5E9F29
monochromatic
#12103E #211C6E #2F299F #4139CC #6F6AD9
Accessibility & contrast
On white
10.83
#2F299F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2F299F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F299F
10.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F299F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F299F | 1.00 | 10.83 | 1.94 | 10.83 |
| #FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f299f; /* rgb */ color: rgb(47, 41, 159); /* oklch */ color: oklch(37.8% 0.182 275.5);
Tailwind
colors: {
custom: {
50: '#7864bd',
500: '#2f299f',
950: '#000000',
},
}SCSS
$custom: #2f299f; $custom-light: #7864bd; $custom-dark: #000000;
JSON
{
"hex": "#2f299f",
"rgb": {
"r": 47,
"g": 41,
"b": 159
},
"hsl": {
"h": 243.051,
"s": 59,
"l": 39.216
},
"oklch": {
"l": 0.37817,
"c": 0.18169,
"h": 275.5
},
"luminance": 0.04693
}Semantic roles & 50–950 ramp
primary
#2F299F
secondary
#BABF65
accent
#E246DA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81