#2F43A8#2F43A8
#2F43A8 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.163 H 269.6°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2F43A8 |
|---|---|
| RGB | rgb(47, 67, 168) |
| HSL | hsl(230, 56%, 42%) |
| HSV | hsv(230, 72%, 66%) |
| CMYK | cmyk(72%, 60.1%, 0%, 34.1%) |
| CIE-LAB | lab(32.80, 27.61, -56.60) |
| CIE-LCH | lch(32.80, 62.97, 296.01°) |
| OKLab | oklab(43.14% -0.001 -0.1633) |
| OKLCH | oklch(43.14% 0.163 269.6) |
| XYZ | xyz(10.2449, 7.4448, 37.9353) |
| Luminance | 0.0745 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.36
Cobalt
#0047AB
ΔE00 3.95
Blue Blue
#2242C7
ΔE00 4.16
Blueberry
#464196
ΔE00 4.71
Ocean Blue
#4F42B5
ΔE00 5.36
Cobalt (survey)
#1E488F
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F43A8 #A8942F
analogous
#2F7FA8 #2F43A8 #582FA8
triadic
#2F43A8 #A82F43 #43A82F
tetradic
#2F43A8 #A82F7F #A8942F #2FA858
square
#2F43A8 #A82F7F #A8942F #2FA858
split-complementary
#2F43A8 #A8582F #7FA82F
monochromatic
#141D48 #223078 #2F43A8 #485ECC #7888D9
Accessibility & contrast
On white
8.44
#2F43A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2F43A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F43A8
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F43A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F43A8 | 1.00 | 8.44 | 2.49 | 8.44 |
| #FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2f43a8; /* rgb */ color: rgb(47, 67, 168); /* oklch */ color: oklch(43.1% 0.163 269.6);
Tailwind
colors: {
custom: {
50: '#7877c3',
500: '#2f43a8',
950: '#000000',
},
}SCSS
$custom: #2f43a8; $custom-light: #7877c3; $custom-dark: #000000;
JSON
{
"hex": "#2f43a8",
"rgb": {
"r": 47,
"g": 67,
"b": 168
},
"hsl": {
"h": 230.083,
"s": 56.279,
"l": 42.157
},
"oklch": {
"l": 0.43135,
"c": 0.16328,
"h": 269.6
},
"luminance": 0.07446
}Semantic roles & 50–950 ramp
primary
#2F43A8
secondary
#C1B471
accent
#C748E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82