#2F3EAD#2F3EAD
#2F3EAD is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.176 H 270.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3EAD |
|---|---|
| RGB | rgb(47, 62, 173) |
| HSL | hsl(233, 57%, 43%) |
| HSV | hsv(233, 73%, 68%) |
| CMYK | cmyk(72.8%, 64.2%, 0%, 32.2%) |
| CIE-LAB | lab(31.96, 32.71, -60.96) |
| CIE-LCH | lch(31.96, 69.19, 298.22°) |
| OKLab | oklab(42.64% 0.0025 -0.1761) |
| OKLCH | oklch(42.64% 0.176 270.8) |
| XYZ | xyz(10.4352, 7.0656, 40.3409) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.94
Blue Blue
#2242C7
ΔE00 3.59
Ocean Blue
#4F42B5
ΔE00 4.59
Blueberry
#464196
ΔE00 4.89
Cobalt
#0047AB
ΔE00 5.31
Blue With A Hint Of Purple
#533CC6
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3EAD #AD9E2F
analogous
#2F7DAD #2F3EAD #5F2FAD
triadic
#2F3EAD #AD2F3E #3EAD2F
tetradic
#2F3EAD #AD2F7D #AD9E2F #2FAD5F
square
#2F3EAD #AD2F7D #AD9E2F #2FAD5F
split-complementary
#2F3EAD #AD5F2F #7DAD2F
monochromatic
#151C4D #222D7D #2F3EAD #4B5BCE #7B87DB
Accessibility & contrast
On white
8.70
#2F3EAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#2F3EAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3EAD
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3EAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3EAD | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#0045AB
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f3ead; /* rgb */ color: rgb(47, 62, 173); /* oklch */ color: oklch(42.6% 0.176 270.8);
Tailwind
colors: {
custom: {
50: '#7a73c6',
500: '#2f3ead',
950: '#000000',
},
}SCSS
$custom: #2f3ead; $custom-light: #7a73c6; $custom-dark: #000000;
JSON
{
"hex": "#2f3ead",
"rgb": {
"r": 47,
"g": 62,
"b": 173
},
"hsl": {
"h": 232.857,
"s": 57.273,
"l": 43.137
},
"oklch": {
"l": 0.42644,
"c": 0.17616,
"h": 270.8
},
"luminance": 0.07067
}Semantic roles & 50–950 ramp
primary
#2F3EAD
secondary
#C4BA74
accent
#CE47E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82