#2F3AB3#2F3AB3
#2F3AB3 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.5% C 0.189 H 271.4°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3AB3 |
|---|---|
| RGB | rgb(47, 58, 179) |
| HSL | hsl(235, 58%, 44%) |
| HSV | hsv(235, 74%, 70%) |
| CMYK | cmyk(73.7%, 67.6%, 0%, 29.8%) |
| CIE-LAB | lab(31.54, 37.40, -65.22) |
| CIE-LCH | lch(31.54, 75.18, 299.83°) |
| OKLab | oklab(42.51% 0.0046 -0.1886) |
| OKLCH | oklch(42.51% 0.189 271.4) |
| XYZ | xyz(10.8193, 6.8840, 43.3976) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.87
Blue Blue
#2242C7
ΔE00 3.52
Ocean Blue
#4F42B5
ΔE00 4.42
Blue With A Hint Of Purple
#533CC6
ΔE00 5.46
Blueberry
#464196
ΔE00 5.68
Blue (survey)
#0343DF
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3AB3 #B3A82F
analogous
#2F7CB3 #2F3AB3 #662FB3
triadic
#2F3AB3 #B32F3A #3AB32F
tetradic
#2F3AB3 #B32F7C #B3A82F #2FB366
square
#2F3AB3 #B32F7C #B3A82F #2FB366
split-complementary
#2F3AB3 #B3662F #7CB32F
monochromatic
#161B52 #222A83 #2F3AB3 #4F59D1 #7F87DD
Accessibility & contrast
On white
8.83
#2F3AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2F3AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3AB3
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3AB3 | 1.00 | 8.83 | 2.38 | 8.83 |
| #FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f3ab3; /* rgb */ color: rgb(47, 58, 179); /* oklch */ color: oklch(42.5% 0.189 271.4);
Tailwind
colors: {
custom: {
50: '#7c70cb',
500: '#2f3ab3',
950: '#000000',
},
}SCSS
$custom: #2f3ab3; $custom-light: #7c70cb; $custom-dark: #000000;
JSON
{
"hex": "#2f3ab3",
"rgb": {
"r": 47,
"g": 58,
"b": 179
},
"hsl": {
"h": 235,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.42507,
"c": 0.18868,
"h": 271.4
},
"luminance": 0.06885
}Semantic roles & 50–950 ramp
primary
#2F3AB3
secondary
#C6C078
accent
#D546E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82