#2F3CAC#2F3CAC
#2F3CAC is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.177 H 271.3°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3CAC |
|---|---|
| RGB | rgb(47, 60, 172) |
| HSL | hsl(234, 57%, 43%) |
| HSV | hsv(234, 73%, 67%) |
| CMYK | cmyk(72.7%, 65.1%, 0%, 32.5%) |
| CIE-LAB | lab(31.38, 33.64, -61.31) |
| CIE-LCH | lch(31.38, 69.93, 298.75°) |
| OKLab | oklab(42.19% 0.0039 -0.1772) |
| OKLCH | oklch(42.19% 0.177 271.3) |
| XYZ | xyz(10.2320, 6.8136, 39.7976) |
| Luminance | 0.0682 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.54
Blue Blue
#2242C7
ΔE00 3.93
Ocean Blue
#4F42B5
ΔE00 4.66
Blueberry
#464196
ΔE00 4.89
Cobalt
#0047AB
ΔE00 5.78
Blue With A Hint Of Purple
#533CC6
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3CAC #AC9F2F
analogous
#2F7AAC #2F3CAC #602FAC
triadic
#2F3CAC #AC2F3C #3CAC2F
tetradic
#2F3CAC #AC2F7A #AC9F2F #2FAC60
square
#2F3CAC #AC2F7A #AC9F2F #2FAC60
split-complementary
#2F3CAC #AC602F #7AAC2F
monochromatic
#151A4C #222B7C #2F3CAC #4B58CE #7B85DB
Accessibility & contrast
On white
8.89
#2F3CAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2F3CAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3CAC
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3CAC | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0044AA
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f3cac; /* rgb */ color: rgb(47, 60, 172); /* oklch */ color: oklch(42.2% 0.177 271.3);
Tailwind
colors: {
custom: {
50: '#7a72c6',
500: '#2f3cac',
950: '#000000',
},
}SCSS
$custom: #2f3cac; $custom-light: #7a72c6; $custom-dark: #000000;
JSON
{
"hex": "#2f3cac",
"rgb": {
"r": 47,
"g": 60,
"b": 172
},
"hsl": {
"h": 233.76,
"s": 57.078,
"l": 42.941
},
"oklch": {
"l": 0.42193,
"c": 0.17722,
"h": 271.3
},
"luminance": 0.06815
}Semantic roles & 50–950 ramp
primary
#2F3CAC
secondary
#C3BB74
accent
#D047E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82