#2F43A3#2F43A3
#2F43A3 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.7% C 0.156 H 269.6°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2F43A3 |
|---|---|
| RGB | rgb(47, 67, 163) |
| HSL | hsl(230, 55%, 41%) |
| HSV | hsv(230, 71%, 64%) |
| CMYK | cmyk(71.2%, 58.9%, 0%, 36.1%) |
| CIE-LAB | lab(32.40, 25.76, -54.25) |
| CIE-LCH | lch(32.40, 60.05, 295.40°) |
| OKLab | oklab(42.71% -0.0011 -0.1564) |
| OKLCH | oklch(42.71% 0.156 269.6) |
| XYZ | xyz(9.7880, 7.2620, 35.5291) |
| Luminance | 0.0726 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.63
Cobalt
#0047AB
ΔE00 3.90
Blueberry
#464196
ΔE00 4.47
Blue Blue
#2242C7
ΔE00 4.88
Cobalt (survey)
#1E488F
ΔE00 5.18
Ocean Blue
#4F42B5
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F43A3 #A38F2F
analogous
#2F7DA3 #2F43A3 #552FA3
triadic
#2F43A3 #A32F43 #43A32F
tetradic
#2F43A3 #A32F7D #A38F2F #2FA355
square
#2F43A3 #A32F7D #A38F2F #2FA355
split-complementary
#2F43A3 #A3552F #7DA32F
monochromatic
#141C44 #212F73 #2F43A3 #465CCA #7586D7
Accessibility & contrast
On white
8.56
#2F43A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2F43A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F43A3
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F43A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F43A3 | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f43a3; /* rgb */ color: rgb(47, 67, 163); /* oklch */ color: oklch(42.7% 0.156 269.6);
Tailwind
colors: {
custom: {
50: '#7776bf',
500: '#2f43a3',
950: '#000000',
},
}SCSS
$custom: #2f43a3; $custom-light: #7776bf; $custom-dark: #000000;
JSON
{
"hex": "#2f43a3",
"rgb": {
"r": 47,
"g": 67,
"b": 163
},
"hsl": {
"h": 229.655,
"s": 55.238,
"l": 41.176
},
"oklch": {
"l": 0.4271,
"c": 0.15639,
"h": 269.6
},
"luminance": 0.07263
}Semantic roles & 50–950 ramp
primary
#2F43A3
secondary
#BFB16F
accent
#C549DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81