#2B42B3#2B42B3
#2B42B3 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.180 H 268.6°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2B42B3 |
|---|---|
| RGB | rgb(43, 66, 179) |
| HSL | hsl(230, 61%, 44%) |
| HSV | hsv(230, 76%, 70%) |
| CMYK | cmyk(76%, 63.1%, 0%, 29.8%) |
| CIE-LAB | lab(33.27, 31.86, -62.39) |
| CIE-LCH | lch(33.27, 70.05, 297.05°) |
| OKLab | oklab(43.72% -0.0043 -0.1804) |
| OKLCH | oklch(43.72% 0.18 268.6) |
| XYZ | xyz(11.0783, 7.6635, 43.5344) |
| Luminance | 0.0766 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.60
Sapphire (survey)
#2138AB
ΔE00 3.05
Cobalt
#0047AB
ΔE00 4.31
Ocean Blue
#4F42B5
ΔE00 4.91
Blue (survey)
#0343DF
ΔE00 5.42
Blueberry
#464196
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B42B3 #B39C2B
analogous
#2B86B3 #2B42B3 #582BB3
triadic
#2B42B3 #B32B42 #42B32B
tetradic
#2B42B3 #B32B86 #B39C2B #2BB358
square
#2B42B3 #B32B86 #B39C2B #2BB358
split-complementary
#2B42B3 #B3582B #86B32B
monochromatic
#131E50 #1F3082 #2B42B3 #4860D3 #798BDF
Accessibility & contrast
On white
8.29
#2B42B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2B42B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B42B3
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B42B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B42B3 | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2b42b3; /* rgb */ color: rgb(43, 66, 179); /* oklch */ color: oklch(43.7% 0.180 268.6);
Tailwind
colors: {
custom: {
50: '#7976cb',
500: '#2b42b3',
950: '#000000',
},
}SCSS
$custom: #2b42b3; $custom-light: #7976cb; $custom-dark: #000000;
JSON
{
"hex": "#2b42b3",
"rgb": {
"r": 43,
"g": 66,
"b": 179
},
"hsl": {
"h": 229.853,
"s": 61.261,
"l": 43.529
},
"oklch": {
"l": 0.43719,
"c": 0.18042,
"h": 268.6
},
"luminance": 0.07665
}Semantic roles & 50–950 ramp
primary
#2B42B3
secondary
#C7B973
accent
#C943E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82