#2F3AB5#2F3AB5
#2F3AB5 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.191 H 271.3°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3AB5 |
|---|---|
| RGB | rgb(47, 58, 181) |
| HSL | hsl(235, 59%, 45%) |
| HSV | hsv(235, 74%, 71%) |
| CMYK | cmyk(74%, 68%, 0%, 29%) |
| CIE-LAB | lab(31.73, 38.11, -66.10) |
| CIE-LCH | lch(31.73, 76.30, 299.96°) |
| OKLab | oklab(42.7% 0.0044 -0.1912) |
| OKLCH | oklch(42.7% 0.191 271.3) |
| XYZ | xyz(11.0230, 6.9655, 44.4706) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.08
Blue Blue
#2242C7
ΔE00 3.35
Ocean Blue
#4F42B5
ΔE00 4.36
Blue With A Hint Of Purple
#533CC6
ΔE00 5.28
Blue (survey)
#0343DF
ΔE00 5.84
Blueberry
#464196
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3AB5 #B5AA2F
analogous
#2F7DB5 #2F3AB5 #672FB5
triadic
#2F3AB5 #B52F3A #3AB52F
tetradic
#2F3AB5 #B52F7D #B5AA2F #2FB567
square
#2F3AB5 #B52F7D #B5AA2F #2FB567
split-complementary
#2F3AB5 #B5672F #7DB52F
monochromatic
#161B54 #222A84 #2F3AB5 #505AD1 #8088DE
Accessibility & contrast
On white
8.77
#2F3AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#2F3AB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3AB5
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3AB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3AB5 | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0044B3
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f3ab5; /* rgb */ color: rgb(47, 58, 181); /* oklch */ color: oklch(42.7% 0.191 271.3);
Tailwind
colors: {
custom: {
50: '#7c70cc',
500: '#2f3ab5',
950: '#000000',
},
}SCSS
$custom: #2f3ab5; $custom-light: #7c70cc; $custom-dark: #000000;
JSON
{
"hex": "#2f3ab5",
"rgb": {
"r": 47,
"g": 58,
"b": 181
},
"hsl": {
"h": 235.075,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.42699,
"c": 0.19124,
"h": 271.3
},
"luminance": 0.06967
}Semantic roles & 50–950 ramp
primary
#2F3AB5
secondary
#C7C179
accent
#D546E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82