#2B42B7#2B42B7
#2B42B7 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.1% C 0.186 H 268.6°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2B42B7 |
|---|---|
| RGB | rgb(43, 66, 183) |
| HSL | hsl(230, 62%, 44%) |
| HSV | hsv(230, 77%, 72%) |
| CMYK | cmyk(76.5%, 63.9%, 0%, 28.2%) |
| CIE-LAB | lab(33.62, 33.33, -64.19) |
| CIE-LCH | lch(33.62, 72.33, 297.44°) |
| OKLab | oklab(44.08% -0.0044 -0.1856) |
| OKLCH | oklch(44.08% 0.186 268.6) |
| XYZ | xyz(11.4888, 7.8276, 45.6960) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.05
Sapphire (survey)
#2138AB
ΔE00 3.25
Cobalt
#0047AB
ΔE00 4.61
Ocean Blue
#4F42B5
ΔE00 4.74
Blue (survey)
#0343DF
ΔE00 4.89
Blueberry
#464196
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B42B7 #B7A02B
analogous
#2B88B7 #2B42B7 #5A2BB7
triadic
#2B42B7 #B72B42 #42B72B
tetradic
#2B42B7 #B72B88 #B7A02B #2BB75A
square
#2B42B7 #B72B88 #B7A02B #2BB75A
split-complementary
#2B42B7 #B75A2B #88B72B
monochromatic
#141E54 #1F3085 #2B42B7 #4B61D5 #7C8DE0
Accessibility & contrast
On white
8.18
#2B42B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2B42B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B42B7
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B42B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B42B7 | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#0049B5
Tritanopia (blue-blind)
#006176
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2b42b7; /* rgb */ color: rgb(43, 66, 183); /* oklch */ color: oklch(44.1% 0.186 268.6);
Tailwind
colors: {
custom: {
50: '#7a76ce',
500: '#2b42b7',
950: '#000000',
},
}SCSS
$custom: #2b42b7; $custom-light: #7a76ce; $custom-dark: #000000;
JSON
{
"hex": "#2b42b7",
"rgb": {
"r": 43,
"g": 66,
"b": 183
},
"hsl": {
"h": 230.143,
"s": 61.947,
"l": 44.314
},
"oklch": {
"l": 0.44084,
"c": 0.18568,
"h": 268.6
},
"luminance": 0.07829
}Semantic roles & 50–950 ramp
primary
#2B42B7
secondary
#C9BB75
accent
#CA43E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82