#2F43B2#2F43B2
#2F43B2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.0% C 0.177 H 269.6°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2F43B2 |
|---|---|
| RGB | rgb(47, 67, 178) |
| HSL | hsl(231, 58%, 44%) |
| HSV | hsv(231, 74%, 70%) |
| CMYK | cmyk(73.6%, 62.4%, 0%, 30.2%) |
| CIE-LAB | lab(33.63, 31.30, -61.20) |
| CIE-LCH | lch(33.63, 68.74, 297.09°) |
| OKLab | oklab(44.01% -0.0011 -0.1768) |
| OKLCH | oklch(44.01% 0.177 269.6) |
| XYZ | xyz(11.2126, 7.8318, 43.0316) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.76
Sapphire (survey)
#2138AB
ΔE00 3.33
Cobalt
#0047AB
ΔE00 4.41
Ocean Blue
#4F42B5
ΔE00 4.65
Blueberry
#464196
ΔE00 5.46
Blue (survey)
#0343DF
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F43B2 #B29E2F
analogous
#2F85B2 #2F43B2 #5D2FB2
triadic
#2F43B2 #B22F43 #43B22F
tetradic
#2F43B2 #B22F85 #B29E2F #2FB25D
square
#2F43B2 #B22F85 #B29E2F #2FB25D
split-complementary
#2F43B2 #B25D2F #85B22F
monochromatic
#151F51 #223182 #2F43B2 #4E62D0 #7E8DDD
Accessibility & contrast
On white
8.18
#2F43B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2F43B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F43B2
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F43B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F43B2 | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2f43b2; /* rgb */ color: rgb(47, 67, 178); /* oklch */ color: oklch(44.0% 0.177 269.6);
Tailwind
colors: {
custom: {
50: '#7b77ca',
500: '#2f43b2',
950: '#000000',
},
}SCSS
$custom: #2f43b2; $custom-light: #7b77ca; $custom-dark: #000000;
JSON
{
"hex": "#2f43b2",
"rgb": {
"r": 47,
"g": 67,
"b": 178
},
"hsl": {
"h": 230.84,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.4401,
"c": 0.1768,
"h": 269.6
},
"luminance": 0.07833
}Semantic roles & 50–950 ramp
primary
#2F43B2
secondary
#C6BA77
accent
#CA46E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82