#2F3A96#2F3A96
#2F3A96 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.150 H 272.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3A96 |
|---|---|
| RGB | rgb(47, 58, 150) |
| HSL | hsl(234, 52%, 39%) |
| HSV | hsv(234, 69%, 59%) |
| CMYK | cmyk(68.7%, 61.3%, 0%, 41.2%) |
| CIE-LAB | lab(28.98, 26.93, -51.92) |
| CIE-LCH | lch(28.98, 58.49, 297.42°) |
| OKLab | oklab(39.84% 0.0063 -0.1496) |
| OKLCH | oklch(39.84% 0.15 272.4) |
| XYZ | xyz(8.1885, 5.8317, 29.5423) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.27
Blueberry
#464196
ΔE00 3.85
Darkslateblue
#483D8B
ΔE00 4.89
Cobalt
#0047AB
ΔE00 6.41
Ocean Blue
#4F42B5
ΔE00 6.70
Cobalt (survey)
#1E488F
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3A96 #968B2F
analogous
#2F6D96 #2F3A96 #572F96
triadic
#2F3A96 #962F3A #3A962F
tetradic
#2F3A96 #962F6D #968B2F #2F9657
square
#2F3A96 #962F6D #968B2F #2F9657
split-complementary
#2F3A96 #96572F #6D962F
monochromatic
#121639 #202867 #2F3A96 #3F4DC3 #6E79D2
Accessibility & contrast
On white
9.69
#2F3A96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2F3A96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3A96
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3A96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3A96 | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2f3a96; /* rgb */ color: rgb(47, 58, 150); /* oklch */ color: oklch(39.8% 0.150 272.4);
Tailwind
colors: {
custom: {
50: '#7570b6',
500: '#2f3a96',
950: '#000000',
},
}SCSS
$custom: #2f3a96; $custom-light: #7570b6; $custom-dark: #000000;
JSON
{
"hex": "#2f3a96",
"rgb": {
"r": 47,
"g": 58,
"b": 150
},
"hsl": {
"h": 233.592,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.39844,
"c": 0.14978,
"h": 272.4
},
"luminance": 0.05832
}Semantic roles & 50–950 ramp
primary
#2F3A96
secondary
#B9B068
accent
#CC4CDC
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80