#2F43B3#2F43B3
#2F43B3 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.1% C 0.178 H 269.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2F43B3 |
|---|---|
| RGB | rgb(47, 67, 179) |
| HSL | hsl(231, 58%, 44%) |
| HSV | hsv(231, 74%, 70%) |
| CMYK | cmyk(73.7%, 62.6%, 0%, 29.8%) |
| CIE-LAB | lab(33.72, 31.66, -61.66) |
| CIE-LCH | lch(33.72, 69.31, 297.18°) |
| OKLab | oklab(44.1% -0.0011 -0.1781) |
| OKLCH | oklch(44.1% 0.178 269.6) |
| XYZ | xyz(11.3133, 7.8721, 43.5623) |
| Luminance | 0.0787 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.63
Sapphire (survey)
#2138AB
ΔE00 3.36
Cobalt
#0047AB
ΔE00 4.48
Ocean Blue
#4F42B5
ΔE00 4.59
Blue (survey)
#0343DF
ΔE00 5.42
Blueberry
#464196
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F43B3 #B39F2F
analogous
#2F85B3 #2F43B3 #5D2FB3
triadic
#2F43B3 #B32F43 #43B32F
tetradic
#2F43B3 #B32F85 #B39F2F #2FB35D
square
#2F43B3 #B32F85 #B39F2F #2FB35D
split-complementary
#2F43B3 #B35D2F #85B32F
monochromatic
#161F52 #223183 #2F43B3 #4F62D1 #7F8DDD
Accessibility & contrast
On white
8.16
#2F43B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2F43B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F43B3
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F43B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F43B3 | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2f43b3; /* rgb */ color: rgb(47, 67, 179); /* oklch */ color: oklch(44.1% 0.178 269.6);
Tailwind
colors: {
custom: {
50: '#7b77cb',
500: '#2f43b3',
950: '#000000',
},
}SCSS
$custom: #2f43b3; $custom-light: #7b77cb; $custom-dark: #000000;
JSON
{
"hex": "#2f43b3",
"rgb": {
"r": 47,
"g": 67,
"b": 179
},
"hsl": {
"h": 230.909,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.44099,
"c": 0.17813,
"h": 269.6
},
"luminance": 0.07873
}Semantic roles & 50–950 ramp
primary
#2F43B3
secondary
#C6BA78
accent
#CA46E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82