#2F43B5#2F43B5
#2F43B5 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.3% C 0.181 H 269.6°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2F43B5 |
|---|---|
| RGB | rgb(47, 67, 181) |
| HSL | hsl(231, 59%, 45%) |
| HSV | hsv(231, 74%, 71%) |
| CMYK | cmyk(74%, 63%, 0%, 29%) |
| CIE-LAB | lab(33.89, 32.40, -62.56) |
| CIE-LCH | lch(33.89, 70.45, 297.38°) |
| OKLab | oklab(44.28% -0.0012 -0.1808) |
| OKLCH | oklch(44.28% 0.181 269.6) |
| XYZ | xyz(11.5171, 7.9536, 44.6353) |
| Luminance | 0.0795 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.36
Sapphire (survey)
#2138AB
ΔE00 3.45
Ocean Blue
#4F42B5
ΔE00 4.51
Cobalt
#0047AB
ΔE00 4.62
Blue (survey)
#0343DF
ΔE00 5.15
Blueberry
#464196
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F43B5 #B5A12F
analogous
#2F86B5 #2F43B5 #5E2FB5
triadic
#2F43B5 #B52F43 #43B52F
tetradic
#2F43B5 #B52F86 #B5A12F #2FB55E
square
#2F43B5 #B52F86 #B5A12F #2FB55E
split-complementary
#2F43B5 #B55E2F #86B52F
monochromatic
#161F54 #223184 #2F43B5 #5063D1 #808EDE
Accessibility & contrast
On white
8.10
#2F43B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2F43B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F43B5
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F43B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F43B5 | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#004AB3
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2f43b5; /* rgb */ color: rgb(47, 67, 181); /* oklch */ color: oklch(44.3% 0.181 269.6);
Tailwind
colors: {
custom: {
50: '#7b77cc',
500: '#2f43b5',
950: '#000000',
},
}SCSS
$custom: #2f43b5; $custom-light: #7b77cc; $custom-dark: #000000;
JSON
{
"hex": "#2f43b5",
"rgb": {
"r": 47,
"g": 67,
"b": 181
},
"hsl": {
"h": 231.045,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.44278,
"c": 0.18078,
"h": 269.6
},
"luminance": 0.07955
}Semantic roles & 50–950 ramp
primary
#2F43B5
secondary
#C7BB79
accent
#CB46E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82