#2F3CAA#2F3CAA
#2F3CAA is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.0% C 0.175 H 271.3°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3CAA |
|---|---|
| RGB | rgb(47, 60, 170) |
| HSL | hsl(234, 57%, 43%) |
| HSV | hsv(234, 72%, 67%) |
| CMYK | cmyk(72.4%, 64.7%, 0%, 33.3%) |
| CIE-LAB | lab(31.20, 32.91, -60.40) |
| CIE-LCH | lch(31.20, 68.79, 298.59°) |
| OKLab | oklab(42.01% 0.004 -0.1745) |
| OKLCH | oklch(42.01% 0.175 271.3) |
| XYZ | xyz(10.0414, 6.7373, 38.7937) |
| Luminance | 0.0674 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.52
Blue Blue
#2242C7
ΔE00 4.17
Blueberry
#464196
ΔE00 4.72
Ocean Blue
#4F42B5
ΔE00 4.79
Cobalt
#0047AB
ΔE00 5.72
Blue With A Hint Of Purple
#533CC6
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3CAA #AA9D2F
analogous
#2F79AA #2F3CAA #602FAA
triadic
#2F3CAA #AA2F3C #3CAA2F
tetradic
#2F3CAA #AA2F79 #AA9D2F #2FAA60
square
#2F3CAA #AA2F79 #AA9D2F #2FAA60
split-complementary
#2F3CAA #AA602F #79AA2F
monochromatic
#141A4A #222B7A #2F3CAA #4957CD #7984DA
Accessibility & contrast
On white
8.95
#2F3CAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2F3CAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3CAA
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3CAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3CAA | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0044A8
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f3caa; /* rgb */ color: rgb(47, 60, 170); /* oklch */ color: oklch(42.0% 0.175 271.3);
Tailwind
colors: {
custom: {
50: '#7972c4',
500: '#2f3caa',
950: '#000000',
},
}SCSS
$custom: #2f3caa; $custom-light: #7972c4; $custom-dark: #000000;
JSON
{
"hex": "#2f3caa",
"rgb": {
"r": 47,
"g": 60,
"b": 170
},
"hsl": {
"h": 233.659,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.42008,
"c": 0.17457,
"h": 271.3
},
"luminance": 0.06738
}Semantic roles & 50–950 ramp
primary
#2F3CAA
secondary
#C2BA72
accent
#D048E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82