#2F3BAC#2F3BAC
#2F3BAC is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.0% C 0.178 H 271.5°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3BAC |
|---|---|
| RGB | rgb(47, 59, 172) |
| HSL | hsl(234, 57%, 43%) |
| HSV | hsv(234, 73%, 67%) |
| CMYK | cmyk(72.7%, 65.7%, 0%, 32.5%) |
| CIE-LAB | lab(31.14, 34.27, -61.71) |
| CIE-LCH | lch(31.14, 70.59, 299.05°) |
| OKLab | oklab(42.02% 0.0046 -0.1783) |
| OKLCH | oklch(42.02% 0.178 271.5) |
| XYZ | xyz(10.1801, 6.7098, 39.7803) |
| Luminance | 0.0671 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.41
Blue Blue
#2242C7
ΔE00 4.06
Ocean Blue
#4F42B5
ΔE00 4.69
Blueberry
#464196
ΔE00 4.96
Cobalt
#0047AB
ΔE00 6.04
Blue With A Hint Of Purple
#533CC6
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3BAC #ACA02F
analogous
#2F79AC #2F3BAC #612FAC
triadic
#2F3BAC #AC2F3B #3BAC2F
tetradic
#2F3BAC #AC2F79 #ACA02F #2FAC61
square
#2F3BAC #AC2F79 #ACA02F #2FAC61
split-complementary
#2F3BAC #AC612F #79AC2F
monochromatic
#151A4C #222B7C #2F3BAC #4B57CE #7B84DB
Accessibility & contrast
On white
8.97
#2F3BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2F3BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3BAC
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3BAC | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0043AA
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f3bac; /* rgb */ color: rgb(47, 59, 172); /* oklch */ color: oklch(42.0% 0.178 271.5);
Tailwind
colors: {
custom: {
50: '#7a71c6',
500: '#2f3bac',
950: '#000000',
},
}SCSS
$custom: #2f3bac; $custom-light: #7a71c6; $custom-dark: #000000;
JSON
{
"hex": "#2f3bac",
"rgb": {
"r": 47,
"g": 59,
"b": 172
},
"hsl": {
"h": 234.24,
"s": 57.078,
"l": 42.941
},
"oklch": {
"l": 0.42016,
"c": 0.1784,
"h": 271.5
},
"luminance": 0.06711
}Semantic roles & 50–950 ramp
primary
#2F3BAC
secondary
#C3BC74
accent
#D247E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82