#2F3CB1#2F3CB1
#2F3CB1 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.184 H 271.1°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3CB1 |
|---|---|
| RGB | rgb(47, 60, 177) |
| HSL | hsl(234, 58%, 44%) |
| HSV | hsv(234, 73%, 69%) |
| CMYK | cmyk(73.4%, 66.1%, 0%, 30.6%) |
| CIE-LAB | lab(31.83, 35.43, -63.56) |
| CIE-LCH | lch(31.83, 72.77, 299.14°) |
| OKLab | oklab(42.66% 0.0036 -0.1837) |
| OKLCH | oklch(42.66% 0.184 271.1) |
| XYZ | xyz(10.7213, 7.0093, 42.3743) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.80
Blue Blue
#2242C7
ΔE00 3.37
Ocean Blue
#4F42B5
ΔE00 4.39
Blueberry
#464196
ΔE00 5.35
Blue With A Hint Of Purple
#533CC6
ΔE00 5.74
Cobalt
#0047AB
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3CB1 #B1A42F
analogous
#2F7DB1 #2F3CB1 #632FB1
triadic
#2F3CB1 #B12F3C #3CB12F
tetradic
#2F3CB1 #B12F7D #B1A42F #2FB163
square
#2F3CB1 #B12F7D #B1A42F #2FB163
split-complementary
#2F3CB1 #B1632F #7DB12F
monochromatic
#151B50 #222C81 #2F3CB1 #4D5AD0 #7E87DD
Accessibility & contrast
On white
8.74
#2F3CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2F3CB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3CB1
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3CB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3CB1 | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0045AF
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f3cb1; /* rgb */ color: rgb(47, 60, 177); /* oklch */ color: oklch(42.7% 0.184 271.1);
Tailwind
colors: {
custom: {
50: '#7b72c9',
500: '#2f3cb1',
950: '#000000',
},
}SCSS
$custom: #2f3cb1; $custom-light: #7b72c9; $custom-dark: #000000;
JSON
{
"hex": "#2f3cb1",
"rgb": {
"r": 47,
"g": 60,
"b": 177
},
"hsl": {
"h": 234,
"s": 58.036,
"l": 43.922
},
"oklch": {
"l": 0.42659,
"c": 0.18378,
"h": 271.1
},
"luminance": 0.0701
}Semantic roles & 50–950 ramp
primary
#2F3CB1
secondary
#C5BD76
accent
#D247E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82