#2F3AB0#2F3AB0
#2F3AB0 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.185 H 271.5°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3AB0 |
|---|---|
| RGB | rgb(47, 58, 176) |
| HSL | hsl(235, 58%, 44%) |
| HSV | hsv(235, 73%, 69%) |
| CMYK | cmyk(73.3%, 67%, 0%, 31%) |
| CIE-LAB | lab(31.26, 36.34, -63.89) |
| CIE-LCH | lch(31.26, 73.50, 299.63°) |
| OKLab | oklab(42.22% 0.0049 -0.1847) |
| OKLCH | oklch(42.22% 0.185 271.5) |
| XYZ | xyz(10.5192, 6.7640, 41.8171) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.59
Blue Blue
#2242C7
ΔE00 3.80
Ocean Blue
#4F42B5
ΔE00 4.53
Blueberry
#464196
ΔE00 5.40
Blue With A Hint Of Purple
#533CC6
ΔE00 5.75
Blue (survey)
#0343DF
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3AB0 #B0A52F
analogous
#2F7AB0 #2F3AB0 #642FB0
triadic
#2F3AB0 #B02F3A #3AB02F
tetradic
#2F3AB0 #B02F7A #B0A52F #2FB064
square
#2F3AB0 #B02F7A #B0A52F #2FB064
split-complementary
#2F3AB0 #B0642F #7AB02F
monochromatic
#151A4F #222A80 #2F3AB0 #4D58CF #7D85DC
Accessibility & contrast
On white
8.92
#2F3AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2F3AB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3AB0
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3AB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3AB0 | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f3ab0; /* rgb */ color: rgb(47, 58, 176); /* oklch */ color: oklch(42.2% 0.185 271.5);
Tailwind
colors: {
custom: {
50: '#7b70c9',
500: '#2f3ab0',
950: '#000000',
},
}SCSS
$custom: #2f3ab0; $custom-light: #7b70c9; $custom-dark: #000000;
JSON
{
"hex": "#2f3ab0",
"rgb": {
"r": 47,
"g": 58,
"b": 176
},
"hsl": {
"h": 234.884,
"s": 57.848,
"l": 43.725
},
"oklch": {
"l": 0.4222,
"c": 0.1848,
"h": 271.5
},
"luminance": 0.06765
}Semantic roles & 50–950 ramp
primary
#2F3AB0
secondary
#C5BE76
accent
#D447E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82