#2F3BAA#2F3BAA
#2F3BAA is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.176 H 271.5°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3BAA |
|---|---|
| RGB | rgb(47, 59, 170) |
| HSL | hsl(234, 57%, 43%) |
| HSV | hsv(234, 72%, 67%) |
| CMYK | cmyk(72.4%, 65.3%, 0%, 33.3%) |
| CIE-LAB | lab(30.96, 33.56, -60.80) |
| CIE-LCH | lch(30.96, 69.45, 298.89°) |
| OKLab | oklab(41.83% 0.0047 -0.1757) |
| OKLCH | oklch(41.83% 0.176 271.5) |
| XYZ | xyz(9.9895, 6.6335, 38.7764) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.38
Blue Blue
#2242C7
ΔE00 4.29
Blueberry
#464196
ΔE00 4.79
Ocean Blue
#4F42B5
ΔE00 4.82
Cobalt
#0047AB
ΔE00 5.98
Blue With A Hint Of Purple
#533CC6
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3BAA #AA9E2F
analogous
#2F79AA #2F3BAA #602FAA
triadic
#2F3BAA #AA2F3B #3BAA2F
tetradic
#2F3BAA #AA2F79 #AA9E2F #2FAA60
square
#2F3BAA #AA2F79 #AA9E2F #2FAA60
split-complementary
#2F3BAA #AA602F #79AA2F
monochromatic
#141A4A #222A7A #2F3BAA #4956CD #7983DA
Accessibility & contrast
On white
9.02
#2F3BAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2F3BAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3BAA
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3BAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3BAA | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0043A8
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f3baa; /* rgb */ color: rgb(47, 59, 170); /* oklch */ color: oklch(41.8% 0.176 271.5);
Tailwind
colors: {
custom: {
50: '#7971c4',
500: '#2f3baa',
950: '#000000',
},
}SCSS
$custom: #2f3baa; $custom-light: #7971c4; $custom-dark: #000000;
JSON
{
"hex": "#2f3baa",
"rgb": {
"r": 47,
"g": 59,
"b": 170
},
"hsl": {
"h": 234.146,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.4183,
"c": 0.17575,
"h": 271.5
},
"luminance": 0.06635
}Semantic roles & 50–950 ramp
primary
#2F3BAA
secondary
#C2BB72
accent
#D148E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82