#2F3F96#2F3F96
#2F3F96 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.143 H 270.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3F96 |
|---|---|
| RGB | rgb(47, 63, 150) |
| HSL | hsl(231, 52%, 39%) |
| HSV | hsv(231, 69%, 59%) |
| CMYK | cmyk(68.7%, 58%, 0%, 41.2%) |
| CIE-LAB | lab(30.30, 23.59, -49.77) |
| CIE-LCH | lch(30.30, 55.08, 295.36°) |
| OKLab | oklab(40.83% 0.002 -0.1433) |
| OKLCH | oklch(40.83% 0.143 270.8) |
| XYZ | xyz(8.4530, 6.3606, 29.6305) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.86
Sapphire (survey)
#2138AB
ΔE00 3.99
Cobalt (survey)
#1E488F
ΔE00 5.19
Cobalt
#0047AB
ΔE00 5.20
Darkslateblue
#483D8B
ΔE00 5.29
Darkish Blue
#014182
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3F96 #96862F
analogous
#2F7296 #2F3F96 #522F96
triadic
#2F3F96 #962F3F #3F962F
tetradic
#2F3F96 #962F72 #96862F #2F9652
square
#2F3F96 #962F72 #96862F #2F9652
split-complementary
#2F3F96 #96522F #72962F
monochromatic
#121839 #202B67 #2F3F96 #3F54C3 #6E7DD2
Accessibility & contrast
On white
9.24
#2F3F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2F3F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3F96
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3F96 | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#004394
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f3f96; /* rgb */ color: rgb(47, 63, 150); /* oklch */ color: oklch(40.8% 0.143 270.8);
Tailwind
colors: {
custom: {
50: '#7473b6',
500: '#2f3f96',
950: '#000000',
},
}SCSS
$custom: #2f3f96; $custom-light: #7473b6; $custom-dark: #000000;
JSON
{
"hex": "#2f3f96",
"rgb": {
"r": 47,
"g": 63,
"b": 150
},
"hsl": {
"h": 230.68,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.40826,
"c": 0.14328,
"h": 270.8
},
"luminance": 0.06361
}Semantic roles & 50–950 ramp
primary
#2F3F96
secondary
#B9AC68
accent
#C54CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80