#2B3EA5#2B3EA5
#2B3EA5 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.167 H 269.6°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3EA5 |
|---|---|
| RGB | rgb(43, 62, 165) |
| HSL | hsl(231, 59%, 41%) |
| HSV | hsv(231, 74%, 65%) |
| CMYK | cmyk(73.9%, 62.4%, 0%, 35.3%) |
| CIE-LAB | lab(31.05, 29.29, -57.65) |
| CIE-LCH | lch(31.05, 64.66, 296.93°) |
| OKLab | oklab(41.71% -0.0013 -0.1665) |
| OKLCH | oklch(41.71% 0.167 269.6) |
| XYZ | xyz(9.5081, 6.6745, 36.3772) |
| Luminance | 0.0668 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.05
Blue Blue
#2242C7
ΔE00 4.62
Blueberry
#464196
ΔE00 4.64
Cobalt
#0047AB
ΔE00 4.72
Ocean Blue
#4F42B5
ΔE00 5.62
Cobalt (survey)
#1E488F
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3EA5 #A5922B
analogous
#2B7BA5 #2B3EA5 #552BA5
triadic
#2B3EA5 #A52B3E #3EA52B
tetradic
#2B3EA5 #A52B7B #A5922B #2BA555
square
#2B3EA5 #A52B7B #A5922B #2BA555
split-complementary
#2B3EA5 #A5552B #7BA52B
monochromatic
#121A44 #1E2C74 #2B3EA5 #4056CD #7181DA
Accessibility & contrast
On white
8.99
#2B3EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2B3EA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3EA5
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3EA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3EA5 | 1.00 | 8.99 | 2.34 | 8.99 |
| #FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2b3ea5; /* rgb */ color: rgb(43, 62, 165); /* oklch */ color: oklch(41.7% 0.167 269.6);
Tailwind
colors: {
custom: {
50: '#7673c1',
500: '#2b3ea5',
950: '#000000',
},
}SCSS
$custom: #2b3ea5; $custom-light: #7673c1; $custom-dark: #000000;
JSON
{
"hex": "#2b3ea5",
"rgb": {
"r": 43,
"g": 62,
"b": 165
},
"hsl": {
"h": 230.656,
"s": 58.654,
"l": 40.784
},
"oklch": {
"l": 0.41708,
"c": 0.16652,
"h": 269.6
},
"luminance": 0.06675
}Semantic roles & 50–950 ramp
primary
#2B3EA5
secondary
#C1B46B
accent
#CA46E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81