#2F43A0#2F43A0
#2F43A0 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.152 H 269.6°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2F43A0 |
|---|---|
| RGB | rgb(47, 67, 160) |
| HSL | hsl(229, 55%, 41%) |
| HSV | hsv(229, 71%, 63%) |
| CMYK | cmyk(70.6%, 58.1%, 0%, 37.3%) |
| CIE-LAB | lab(32.16, 24.64, -52.83) |
| CIE-LCH | lch(32.16, 58.29, 295.01°) |
| OKLab | oklab(42.46% -0.0011 -0.1522) |
| OKLCH | oklch(42.46% 0.152 269.6) |
| XYZ | xyz(9.5224, 7.1558, 34.1303) |
| Luminance | 0.0716 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.86
Cobalt
#0047AB
ΔE00 3.94
Blueberry
#464196
ΔE00 4.37
Cobalt (survey)
#1E488F
ΔE00 4.88
Blue Blue
#2242C7
ΔE00 5.33
Ocean Blue
#4F42B5
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F43A0 #A08C2F
analogous
#2F7BA0 #2F43A0 #542FA0
triadic
#2F43A0 #A02F43 #43A02F
tetradic
#2F43A0 #A02F7B #A08C2F #2FA054
square
#2F43A0 #A02F7B #A08C2F #2FA054
split-complementary
#2F43A0 #A0542F #7BA02F
monochromatic
#131B41 #212F71 #2F43A0 #445BC8 #7385D6
Accessibility & contrast
On white
8.64
#2F43A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#2F43A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F43A0
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F43A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F43A0 | 1.00 | 8.64 | 2.43 | 8.64 |
| #FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#005A6B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f43a0; /* rgb */ color: rgb(47, 67, 160); /* oklch */ color: oklch(42.5% 0.152 269.6);
Tailwind
colors: {
custom: {
50: '#7676bd',
500: '#2f43a0',
950: '#000000',
},
}SCSS
$custom: #2f43a0; $custom-light: #7676bd; $custom-dark: #000000;
JSON
{
"hex": "#2f43a0",
"rgb": {
"r": 47,
"g": 67,
"b": 160
},
"hsl": {
"h": 229.381,
"s": 54.589,
"l": 40.588
},
"oklch": {
"l": 0.42458,
"c": 0.15221,
"h": 269.6
},
"luminance": 0.07157
}Semantic roles & 50–950 ramp
primary
#2F43A0
secondary
#BEAF6D
accent
#C44ADE
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81