#2F43A2#2F43A2
#2F43A2 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.6% C 0.155 H 269.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2F43A2 |
|---|---|
| RGB | rgb(47, 67, 162) |
| HSL | hsl(230, 55%, 41%) |
| HSV | hsv(230, 71%, 64%) |
| CMYK | cmyk(71%, 58.6%, 0%, 36.5%) |
| CIE-LAB | lab(32.32, 25.39, -53.78) |
| CIE-LCH | lch(32.32, 59.47, 295.27°) |
| OKLab | oklab(42.63% -0.0011 -0.155) |
| OKLCH | oklch(42.63% 0.155 269.6) |
| XYZ | xyz(9.6988, 7.2263, 35.0591) |
| Luminance | 0.0723 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.70
Cobalt
#0047AB
ΔE00 3.91
Blueberry
#464196
ΔE00 4.43
Blue Blue
#2242C7
ΔE00 5.03
Cobalt (survey)
#1E488F
ΔE00 5.08
Ocean Blue
#4F42B5
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F43A2 #A28E2F
analogous
#2F7CA2 #2F43A2 #542FA2
triadic
#2F43A2 #A22F43 #43A22F
tetradic
#2F43A2 #A22F7C #A28E2F #2FA254
square
#2F43A2 #A22F7C #A28E2F #2FA254
split-complementary
#2F43A2 #A2542F #7CA22F
monochromatic
#131C43 #212F73 #2F43A2 #455CC9 #7586D7
Accessibility & contrast
On white
8.59
#2F43A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2F43A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F43A2
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F43A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F43A2 | 1.00 | 8.59 | 2.45 | 8.59 |
| #FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f43a2; /* rgb */ color: rgb(47, 67, 162); /* oklch */ color: oklch(42.6% 0.155 269.6);
Tailwind
colors: {
custom: {
50: '#7776be',
500: '#2f43a2',
950: '#000000',
},
}SCSS
$custom: #2f43a2; $custom-light: #7776be; $custom-dark: #000000;
JSON
{
"hex": "#2f43a2",
"rgb": {
"r": 47,
"g": 67,
"b": 162
},
"hsl": {
"h": 229.565,
"s": 55.024,
"l": 40.98
},
"oklch": {
"l": 0.42625,
"c": 0.155,
"h": 269.6
},
"luminance": 0.07227
}Semantic roles & 50–950 ramp
primary
#2F43A2
secondary
#BFB16E
accent
#C449DE
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81