#2F43AA#2F43AA
#2F43AA is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.3% C 0.166 H 269.7°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2F43AA |
|---|---|
| RGB | rgb(47, 67, 170) |
| HSL | hsl(230, 57%, 43%) |
| HSV | hsv(230, 72%, 67%) |
| CMYK | cmyk(72.4%, 60.6%, 0%, 33.3%) |
| CIE-LAB | lab(32.96, 28.35, -57.53) |
| CIE-LCH | lch(32.96, 64.13, 296.24°) |
| OKLab | oklab(43.31% -0.001 -0.166) |
| OKLCH | oklch(43.31% 0.166 269.7) |
| XYZ | xyz(10.4327, 7.5199, 38.9241) |
| Luminance | 0.0752 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.29
Blue Blue
#2242C7
ΔE00 3.87
Cobalt
#0047AB
ΔE00 4.01
Blueberry
#464196
ΔE00 4.84
Ocean Blue
#4F42B5
ΔE00 5.19
Cobalt (survey)
#1E488F
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F43AA #AA962F
analogous
#2F80AA #2F43AA #592FAA
triadic
#2F43AA #AA2F43 #43AA2F
tetradic
#2F43AA #AA2F80 #AA962F #2FAA59
square
#2F43AA #AA2F80 #AA962F #2FAA59
split-complementary
#2F43AA #AA592F #80AA2F
monochromatic
#141D4A #22307A #2F43AA #495FCD #7989DA
Accessibility & contrast
On white
8.39
#2F43AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2F43AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F43AA
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F43AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F43AA | 1.00 | 8.39 | 2.50 | 8.39 |
| #FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2f43aa; /* rgb */ color: rgb(47, 67, 170); /* oklch */ color: oklch(43.3% 0.166 269.7);
Tailwind
colors: {
custom: {
50: '#7977c4',
500: '#2f43aa',
950: '#000000',
},
}SCSS
$custom: #2f43aa; $custom-light: #7977c4; $custom-dark: #000000;
JSON
{
"hex": "#2f43aa",
"rgb": {
"r": 47,
"g": 67,
"b": 170
},
"hsl": {
"h": 230.244,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.43308,
"c": 0.16601,
"h": 269.7
},
"luminance": 0.07521
}Semantic roles & 50–950 ramp
primary
#2F43AA
secondary
#C2B572
accent
#C748E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82