#2F43AC#2F43AC
#2F43AC is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.5% C 0.169 H 269.7°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2F43AC |
|---|---|
| RGB | rgb(47, 67, 172) |
| HSL | hsl(230, 57%, 43%) |
| HSV | hsv(230, 73%, 67%) |
| CMYK | cmyk(72.7%, 61%, 0%, 32.5%) |
| CIE-LAB | lab(33.13, 29.09, -58.45) |
| CIE-LCH | lch(33.13, 65.29, 296.46°) |
| OKLab | oklab(43.48% -0.001 -0.1687) |
| OKLCH | oklch(43.48% 0.169 269.7) |
| XYZ | xyz(10.6233, 7.5961, 39.9281) |
| Luminance | 0.0760 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.26
Blue Blue
#2242C7
ΔE00 3.59
Cobalt
#0047AB
ΔE00 4.09
Blueberry
#464196
ΔE00 4.98
Ocean Blue
#4F42B5
ΔE00 5.03
Cobalt (survey)
#1E488F
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F43AC #AC982F
analogous
#2F81AC #2F43AC #592FAC
triadic
#2F43AC #AC2F43 #43AC2F
tetradic
#2F43AC #AC2F81 #AC982F #2FAC59
square
#2F43AC #AC2F81 #AC982F #2FAC59
split-complementary
#2F43AC #AC592F #81AC2F
monochromatic
#151E4C #22307C #2F43AC #4B60CE #7B8ADB
Accessibility & contrast
On white
8.34
#2F43AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#2F43AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F43AC
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F43AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F43AC | 1.00 | 8.34 | 2.52 | 8.34 |
| #FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2f43ac; /* rgb */ color: rgb(47, 67, 172); /* oklch */ color: oklch(43.5% 0.169 269.7);
Tailwind
colors: {
custom: {
50: '#7977c6',
500: '#2f43ac',
950: '#000000',
},
}SCSS
$custom: #2f43ac; $custom-light: #7977c6; $custom-dark: #000000;
JSON
{
"hex": "#2f43ac",
"rgb": {
"r": 47,
"g": 67,
"b": 172
},
"hsl": {
"h": 230.4,
"s": 57.078,
"l": 42.941
},
"oklch": {
"l": 0.43482,
"c": 0.16873,
"h": 269.7
},
"luminance": 0.07597
}Semantic roles & 50–950 ramp
primary
#2F43AC
secondary
#C3B674
accent
#C847E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82