#2F3CA9#2F3CA9
#2F3CA9 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.173 H 271.4°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3CA9 |
|---|---|
| RGB | rgb(47, 60, 169) |
| HSL | hsl(234, 56%, 42%) |
| HSV | hsv(234, 72%, 66%) |
| CMYK | cmyk(72.2%, 64.5%, 0%, 33.7%) |
| CIE-LAB | lab(31.11, 32.55, -59.95) |
| CIE-LCH | lch(31.11, 68.22, 298.50°) |
| OKLab | oklab(41.92% 0.0041 -0.1732) |
| OKLCH | oklch(41.92% 0.173 271.4) |
| XYZ | xyz(9.9472, 6.6996, 38.2974) |
| Luminance | 0.0670 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.53
Blue Blue
#2242C7
ΔE00 4.29
Blueberry
#464196
ΔE00 4.63
Ocean Blue
#4F42B5
ΔE00 4.86
Cobalt
#0047AB
ΔE00 5.70
Darkslateblue
#483D8B
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3CA9 #A99C2F
analogous
#2F79A9 #2F3CA9 #5F2FA9
triadic
#2F3CA9 #A92F3C #3CA92F
tetradic
#2F3CA9 #A92F79 #A99C2F #2FA95F
square
#2F3CA9 #A92F79 #A99C2F #2FA95F
split-complementary
#2F3CA9 #A95F2F #79A92F
monochromatic
#141A49 #222B79 #2F3CA9 #4957CC #7983DA
Accessibility & contrast
On white
8.97
#2F3CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2F3CA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3CA9
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3CA9 | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0044A7
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f3ca9; /* rgb */ color: rgb(47, 60, 169); /* oklch */ color: oklch(41.9% 0.173 271.4);
Tailwind
colors: {
custom: {
50: '#7971c4',
500: '#2f3ca9',
950: '#000000',
},
}SCSS
$custom: #2f3ca9; $custom-light: #7971c4; $custom-dark: #000000;
JSON
{
"hex": "#2f3ca9",
"rgb": {
"r": 47,
"g": 60,
"b": 169
},
"hsl": {
"h": 233.607,
"s": 56.481,
"l": 42.353
},
"oklch": {
"l": 0.41917,
"c": 0.17324,
"h": 271.4
},
"luminance": 0.06701
}Semantic roles & 50–950 ramp
primary
#2F3CA9
secondary
#C2B972
accent
#D048E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82