#2F3FA9#2F3FA9
#2F3FA9 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.170 H 270.7°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3FA9 |
|---|---|
| RGB | rgb(47, 63, 169) |
| HSL | hsl(232, 56%, 42%) |
| HSV | hsv(232, 72%, 66%) |
| CMYK | cmyk(72.2%, 62.7%, 0%, 33.7%) |
| CIE-LAB | lab(31.86, 30.61, -58.73) |
| CIE-LCH | lch(31.86, 66.23, 297.53°) |
| OKLab | oklab(42.47% 0.002 -0.1696) |
| OKLCH | oklch(42.47% 0.17 270.7) |
| XYZ | xyz(10.1088, 7.0229, 38.3512) |
| Luminance | 0.0702 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.19
Blue Blue
#2242C7
ΔE00 4.03
Blueberry
#464196
ΔE00 4.55
Ocean Blue
#4F42B5
ΔE00 4.91
Cobalt
#0047AB
ΔE00 4.93
Darkslateblue
#483D8B
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3FA9 #A9992F
analogous
#2F7CA9 #2F3FA9 #5C2FA9
triadic
#2F3FA9 #A92F3F #3FA92F
tetradic
#2F3FA9 #A92F7C #A9992F #2FA95C
square
#2F3FA9 #A92F7C #A9992F #2FA95C
split-complementary
#2F3FA9 #A95C2F #7CA92F
monochromatic
#141B49 #222D79 #2F3FA9 #495ACC #7985DA
Accessibility & contrast
On white
8.73
#2F3FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2F3FA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3FA9
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3FA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3FA9 | 1.00 | 8.73 | 2.40 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051AC
Deuteranopia (green-blind)
#0045A7
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f3fa9; /* rgb */ color: rgb(47, 63, 169); /* oklch */ color: oklch(42.5% 0.170 270.7);
Tailwind
colors: {
custom: {
50: '#7974c3',
500: '#2f3fa9',
950: '#000000',
},
}SCSS
$custom: #2f3fa9; $custom-light: #7974c3; $custom-dark: #000000;
JSON
{
"hex": "#2f3fa9",
"rgb": {
"r": 47,
"g": 63,
"b": 169
},
"hsl": {
"h": 232.131,
"s": 56.481,
"l": 42.353
},
"oklch": {
"l": 0.42465,
"c": 0.16959,
"h": 270.7
},
"luminance": 0.07024
}Semantic roles & 50–950 ramp
primary
#2F3FA9
secondary
#C2B772
accent
#CC48E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82