#2F43AB#2F43AB
#2F43AB is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.4% C 0.167 H 269.7°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2F43AB |
|---|---|
| RGB | rgb(47, 67, 171) |
| HSL | hsl(230, 57%, 43%) |
| HSV | hsv(230, 73%, 67%) |
| CMYK | cmyk(72.5%, 60.8%, 0%, 32.9%) |
| CIE-LAB | lab(33.04, 28.72, -57.99) |
| CIE-LCH | lch(33.04, 64.71, 296.35°) |
| OKLab | oklab(43.4% -0.001 -0.1674) |
| OKLCH | oklch(43.4% 0.167 269.7) |
| XYZ | xyz(10.5276, 7.5578, 39.4242) |
| Luminance | 0.0756 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.27
Blue Blue
#2242C7
ΔE00 3.73
Cobalt
#0047AB
ΔE00 4.05
Blueberry
#464196
ΔE00 4.91
Ocean Blue
#4F42B5
ΔE00 5.11
Cobalt (survey)
#1E488F
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F43AB #AB972F
analogous
#2F81AB #2F43AB #592FAB
triadic
#2F43AB #AB2F43 #43AB2F
tetradic
#2F43AB #AB2F81 #AB972F #2FAB59
square
#2F43AB #AB2F81 #AB972F #2FAB59
split-complementary
#2F43AB #AB592F #81AB2F
monochromatic
#151D4B #22307B #2F43AB #4A5FCD #7A8ADA
Accessibility & contrast
On white
8.36
#2F43AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#2F43AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F43AB
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F43AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F43AB | 1.00 | 8.36 | 2.51 | 8.36 |
| #FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2f43ab; /* rgb */ color: rgb(47, 67, 171); /* oklch */ color: oklch(43.4% 0.167 269.7);
Tailwind
colors: {
custom: {
50: '#7977c5',
500: '#2f43ab',
950: '#000000',
},
}SCSS
$custom: #2f43ab; $custom-light: #7977c5; $custom-dark: #000000;
JSON
{
"hex": "#2f43ab",
"rgb": {
"r": 47,
"g": 67,
"b": 171
},
"hsl": {
"h": 230.323,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.43395,
"c": 0.16737,
"h": 269.7
},
"luminance": 0.07559
}Semantic roles & 50–950 ramp
primary
#2F43AB
secondary
#C3B673
accent
#C848E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82