#2F43A7#2F43A7
#2F43A7 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.0% C 0.162 H 269.6°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2F43A7 |
|---|---|
| RGB | rgb(47, 67, 167) |
| HSL | hsl(230, 56%, 42%) |
| HSV | hsv(230, 72%, 65%) |
| CMYK | cmyk(71.9%, 59.9%, 0%, 34.5%) |
| CIE-LAB | lab(32.72, 27.24, -56.13) |
| CIE-LCH | lch(32.72, 62.39, 295.89°) |
| OKLab | oklab(43.05% -0.001 -0.1619) |
| OKLCH | oklch(43.05% 0.162 269.6) |
| XYZ | xyz(10.1521, 7.4076, 37.4465) |
| Luminance | 0.0741 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.40
Cobalt
#0047AB
ΔE00 3.93
Blue Blue
#2242C7
ΔE00 4.30
Blueberry
#464196
ΔE00 4.66
Ocean Blue
#4F42B5
ΔE00 5.44
Cobalt (survey)
#1E488F
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F43A7 #A7932F
analogous
#2F7FA7 #2F43A7 #572FA7
triadic
#2F43A7 #A72F43 #43A72F
tetradic
#2F43A7 #A72F7F #A7932F #2FA757
square
#2F43A7 #A72F7F #A7932F #2FA757
split-complementary
#2F43A7 #A7572F #7FA72F
monochromatic
#141D47 #223077 #2F43A7 #485ECB #7888D9
Accessibility & contrast
On white
8.46
#2F43A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#2F43A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F43A7
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F43A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F43A7 | 1.00 | 8.46 | 2.48 | 8.46 |
| #FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2f43a7; /* rgb */ color: rgb(47, 67, 167); /* oklch */ color: oklch(43.0% 0.162 269.6);
Tailwind
colors: {
custom: {
50: '#7876c2',
500: '#2f43a7',
950: '#000000',
},
}SCSS
$custom: #2f43a7; $custom-light: #7876c2; $custom-dark: #000000;
JSON
{
"hex": "#2f43a7",
"rgb": {
"r": 47,
"g": 67,
"b": 167
},
"hsl": {
"h": 230,
"s": 56.075,
"l": 41.961
},
"oklch": {
"l": 0.4305,
"c": 0.16191,
"h": 269.6
},
"luminance": 0.07409
}Semantic roles & 50–950 ramp
primary
#2F43A7
secondary
#C1B471
accent
#C648DF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81