#2F3CAD#2F3CAD
#2F3CAD is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.179 H 271.2°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3CAD |
|---|---|
| RGB | rgb(47, 60, 173) |
| HSL | hsl(234, 57%, 43%) |
| HSV | hsv(234, 73%, 68%) |
| CMYK | cmyk(72.8%, 65.3%, 0%, 32.2%) |
| CIE-LAB | lab(31.47, 34.00, -61.76) |
| CIE-LCH | lch(31.47, 70.50, 298.83°) |
| OKLab | oklab(42.29% 0.0039 -0.1785) |
| OKLCH | oklch(42.29% 0.179 271.2) |
| XYZ | xyz(10.3284, 6.8521, 40.3053) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.57
Blue Blue
#2242C7
ΔE00 3.81
Ocean Blue
#4F42B5
ΔE00 4.60
Blueberry
#464196
ΔE00 4.98
Cobalt
#0047AB
ΔE00 5.81
Blue With A Hint Of Purple
#533CC6
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3CAD #ADA02F
analogous
#2F7BAD #2F3CAD #612FAD
triadic
#2F3CAD #AD2F3C #3CAD2F
tetradic
#2F3CAD #AD2F7B #ADA02F #2FAD61
square
#2F3CAD #AD2F7B #ADA02F #2FAD61
split-complementary
#2F3CAD #AD612F #7BAD2F
monochromatic
#151B4D #222B7D #2F3CAD #4B59CE #7B85DB
Accessibility & contrast
On white
8.86
#2F3CAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#2F3CAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3CAD
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3CAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3CAD | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#0044AB
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f3cad; /* rgb */ color: rgb(47, 60, 173); /* oklch */ color: oklch(42.3% 0.179 271.2);
Tailwind
colors: {
custom: {
50: '#7a72c6',
500: '#2f3cad',
950: '#000000',
},
}SCSS
$custom: #2f3cad; $custom-light: #7a72c6; $custom-dark: #000000;
JSON
{
"hex": "#2f3cad",
"rgb": {
"r": 47,
"g": 60,
"b": 173
},
"hsl": {
"h": 233.81,
"s": 57.273,
"l": 43.137
},
"oklch": {
"l": 0.42286,
"c": 0.17854,
"h": 271.2
},
"luminance": 0.06853
}Semantic roles & 50–950 ramp
primary
#2F3CAD
secondary
#C4BB74
accent
#D147E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82