#2F3EAB#2F3EAB
#2F3EAB is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.173 H 270.9°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3EAB |
|---|---|
| RGB | rgb(47, 62, 171) |
| HSL | hsl(233, 57%, 43%) |
| HSV | hsv(233, 73%, 67%) |
| CMYK | cmyk(72.5%, 63.7%, 0%, 32.9%) |
| CIE-LAB | lab(31.78, 31.99, -60.05) |
| CIE-LCH | lch(31.78, 68.04, 298.04°) |
| OKLab | oklab(42.46% 0.0026 -0.1735) |
| OKLCH | oklch(42.46% 0.174 270.9) |
| XYZ | xyz(10.2431, 6.9888, 39.3293) |
| Luminance | 0.0699 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.91
Blue Blue
#2242C7
ΔE00 3.84
Blueberry
#464196
ΔE00 4.72
Ocean Blue
#4F42B5
ΔE00 4.73
Cobalt
#0047AB
ΔE00 5.24
Blue With A Hint Of Purple
#533CC6
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3EAB #AB9C2F
analogous
#2F7CAB #2F3EAB #5E2FAB
triadic
#2F3EAB #AB2F3E #3EAB2F
tetradic
#2F3EAB #AB2F7C #AB9C2F #2FAB5E
square
#2F3EAB #AB2F7C #AB9C2F #2FAB5E
split-complementary
#2F3EAB #AB5E2F #7CAB2F
monochromatic
#151B4B #222D7B #2F3EAB #4A5ACD #7A86DA
Accessibility & contrast
On white
8.76
#2F3EAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2F3EAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3EAB
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3EAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3EAB | 1.00 | 8.76 | 2.40 | 8.76 |
| #FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f3eab; /* rgb */ color: rgb(47, 62, 171); /* oklch */ color: oklch(42.5% 0.173 270.9);
Tailwind
colors: {
custom: {
50: '#7973c5',
500: '#2f3eab',
950: '#000000',
},
}SCSS
$custom: #2f3eab; $custom-light: #7973c5; $custom-dark: #000000;
JSON
{
"hex": "#2f3eab",
"rgb": {
"r": 47,
"g": 62,
"b": 171
},
"hsl": {
"h": 232.742,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.42462,
"c": 0.1735,
"h": 270.9
},
"luminance": 0.0699
}Semantic roles & 50–950 ramp
primary
#2F3EAB
secondary
#C3B973
accent
#CE48E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82