#2B3EA8#2B3EA8
#2B3EA8 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.0% C 0.171 H 269.5°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3EA8 |
|---|---|
| RGB | rgb(43, 62, 168) |
| HSL | hsl(231, 59%, 41%) |
| HSV | hsv(231, 74%, 66%) |
| CMYK | cmyk(74.4%, 63.1%, 0%, 34.1%) |
| CIE-LAB | lab(31.31, 30.40, -59.03) |
| CIE-LCH | lch(31.31, 66.40, 297.25°) |
| OKLab | oklab(41.98% -0.0013 -0.1706) |
| OKLCH | oklch(41.98% 0.171 269.5) |
| XYZ | xyz(9.7843, 6.7850, 37.8322) |
| Luminance | 0.0679 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.86
Blue Blue
#2242C7
ΔE00 4.21
Cobalt
#0047AB
ΔE00 4.78
Blueberry
#464196
ΔE00 4.81
Ocean Blue
#4F42B5
ΔE00 5.37
Cobalt (survey)
#1E488F
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3EA8 #A8952B
analogous
#2B7DA8 #2B3EA8 #572BA8
triadic
#2B3EA8 #A82B3E #3EA82B
tetradic
#2B3EA8 #A82B7D #A8952B #2BA857
square
#2B3EA8 #A82B7D #A8952B #2BA857
split-complementary
#2B3EA8 #A8572B #7DA82B
monochromatic
#121A47 #1F2C77 #2B3EA8 #4257CF #7282DB
Accessibility & contrast
On white
8.91
#2B3EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2B3EA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3EA8
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3EA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3EA8 | 1.00 | 8.91 | 2.36 | 8.91 |
| #FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AB
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2b3ea8; /* rgb */ color: rgb(43, 62, 168); /* oklch */ color: oklch(42.0% 0.171 269.5);
Tailwind
colors: {
custom: {
50: '#7773c3',
500: '#2b3ea8',
950: '#000000',
},
}SCSS
$custom: #2b3ea8; $custom-light: #7773c3; $custom-dark: #000000;
JSON
{
"hex": "#2b3ea8",
"rgb": {
"r": 43,
"g": 62,
"b": 168
},
"hsl": {
"h": 230.88,
"s": 59.242,
"l": 41.373
},
"oklch": {
"l": 0.41979,
"c": 0.17058,
"h": 269.5
},
"luminance": 0.06786
}Semantic roles & 50–950 ramp
primary
#2B3EA8
secondary
#C2B56C
accent
#CB45E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82