#2F43B1#2F43B1
#2F43B1 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.175 H 269.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2F43B1 |
|---|---|
| RGB | rgb(47, 67, 177) |
| HSL | hsl(231, 58%, 44%) |
| HSV | hsv(231, 73%, 69%) |
| CMYK | cmyk(73.4%, 62.1%, 0%, 30.6%) |
| CIE-LAB | lab(33.55, 30.93, -60.75) |
| CIE-LCH | lch(33.55, 68.17, 296.99°) |
| OKLab | oklab(43.92% -0.0011 -0.1755) |
| OKLCH | oklch(43.92% 0.175 269.6) |
| XYZ | xyz(11.1125, 7.7918, 42.5048) |
| Luminance | 0.0779 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.90
Sapphire (survey)
#2138AB
ΔE00 3.30
Cobalt
#0047AB
ΔE00 4.35
Ocean Blue
#4F42B5
ΔE00 4.70
Blueberry
#464196
ΔE00 5.37
Blue (survey)
#0343DF
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F43B1 #B19D2F
analogous
#2F84B1 #2F43B1 #5C2FB1
triadic
#2F43B1 #B12F43 #43B12F
tetradic
#2F43B1 #B12F84 #B19D2F #2FB15C
square
#2F43B1 #B12F84 #B19D2F #2FB15C
split-complementary
#2F43B1 #B15C2F #84B12F
monochromatic
#151E50 #223181 #2F43B1 #4D61D0 #7E8CDD
Accessibility & contrast
On white
8.21
#2F43B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2F43B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F43B1
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F43B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F43B1 | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B5
Deuteranopia (green-blind)
#0049AF
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2f43b1; /* rgb */ color: rgb(47, 67, 177); /* oklch */ color: oklch(43.9% 0.175 269.6);
Tailwind
colors: {
custom: {
50: '#7a77c9',
500: '#2f43b1',
950: '#000000',
},
}SCSS
$custom: #2f43b1; $custom-light: #7a77c9; $custom-dark: #000000;
JSON
{
"hex": "#2f43b1",
"rgb": {
"r": 47,
"g": 67,
"b": 177
},
"hsl": {
"h": 230.769,
"s": 58.036,
"l": 43.922
},
"oklch": {
"l": 0.43921,
"c": 0.17546,
"h": 269.6
},
"luminance": 0.07793
}Semantic roles & 50–950 ramp
primary
#2F43B1
secondary
#C5B976
accent
#C947E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82