#2B42AE#2B42AE
#2B42AE is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.3% C 0.174 H 268.6°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2B42AE |
|---|---|
| RGB | rgb(43, 66, 174) |
| HSL | hsl(229, 60%, 43%) |
| HSV | hsv(229, 75%, 68%) |
| CMYK | cmyk(75.3%, 62.1%, 0%, 31.8%) |
| CIE-LAB | lab(32.84, 30.01, -60.12) |
| CIE-LCH | lch(32.84, 67.19, 296.52°) |
| OKLab | oklab(43.27% -0.0042 -0.1737) |
| OKLCH | oklch(43.27% 0.174 268.6) |
| XYZ | xyz(10.5818, 7.4649, 40.9194) |
| Luminance | 0.0747 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.94
Blue Blue
#2242C7
ΔE00 3.29
Cobalt
#0047AB
ΔE00 3.99
Ocean Blue
#4F42B5
ΔE00 5.21
Blueberry
#464196
ΔE00 5.36
Blue (survey)
#0343DF
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B42AE #AE972B
analogous
#2B83AE #2B42AE #562BAE
triadic
#2B42AE #AE2B42 #42AE2B
tetradic
#2B42AE #AE2B83 #AE972B #2BAE56
square
#2B42AE #AE2B83 #AE972B #2BAE56
split-complementary
#2B42AE #AE562B #83AE2B
monochromatic
#131D4C #1F2F7D #2B42AE #455ED1 #7688DD
Accessibility & contrast
On white
8.42
#2B42AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2B42AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B42AE
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B42AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B42AE | 1.00 | 8.42 | 2.49 | 8.42 |
| #FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#0047AC
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2b42ae; /* rgb */ color: rgb(43, 66, 174); /* oklch */ color: oklch(43.3% 0.174 268.6);
Tailwind
colors: {
custom: {
50: '#7876c7',
500: '#2b42ae',
950: '#000000',
},
}SCSS
$custom: #2b42ae; $custom-light: #7876c7; $custom-dark: #000000;
JSON
{
"hex": "#2b42ae",
"rgb": {
"r": 43,
"g": 66,
"b": 174
},
"hsl": {
"h": 229.466,
"s": 60.369,
"l": 42.549
},
"oklch": {
"l": 0.43269,
"c": 0.17376,
"h": 268.6
},
"luminance": 0.07466
}Semantic roles & 50–950 ramp
primary
#2B42AE
secondary
#C5B670
accent
#C844E4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82