#2B3EA2#2B3EA2
#2B3EA2 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.162 H 269.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3EA2 |
|---|---|
| RGB | rgb(43, 62, 162) |
| HSL | hsl(230, 58%, 40%) |
| HSV | hsv(230, 73%, 64%) |
| CMYK | cmyk(73.5%, 61.7%, 0%, 36.5%) |
| CIE-LAB | lab(30.80, 28.17, -56.26) |
| CIE-LCH | lch(30.80, 62.92, 296.60°) |
| OKLab | oklab(41.44% -0.0012 -0.1624) |
| OKLCH | oklch(41.44% 0.162 269.6) |
| XYZ | xyz(9.2382, 6.5665, 34.9560) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.31
Blueberry
#464196
ΔE00 4.50
Cobalt
#0047AB
ΔE00 4.71
Blue Blue
#2242C7
ΔE00 5.03
Ocean Blue
#4F42B5
ΔE00 5.90
Cobalt (survey)
#1E488F
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3EA2 #A28F2B
analogous
#2B7AA2 #2B3EA2 #532BA2
triadic
#2B3EA2 #A22B3E #3EA22B
tetradic
#2B3EA2 #A22B7A #A28F2B #2BA253
square
#2B3EA2 #A22B7A #A28F2B #2BA253
split-complementary
#2B3EA2 #A2532B #7AA22B
monochromatic
#111941 #1E2B72 #2B3EA2 #3E55CC #6F80D9
Accessibility & contrast
On white
9.08
#2B3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2B3EA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3EA2
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3EA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3EA2 | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2b3ea2; /* rgb */ color: rgb(43, 62, 162); /* oklch */ color: oklch(41.4% 0.162 269.6);
Tailwind
colors: {
custom: {
50: '#7673be',
500: '#2b3ea2',
950: '#000000',
},
}SCSS
$custom: #2b3ea2; $custom-light: #7673be; $custom-dark: #000000;
JSON
{
"hex": "#2b3ea2",
"rgb": {
"r": 43,
"g": 62,
"b": 162
},
"hsl": {
"h": 230.42,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.4144,
"c": 0.16244,
"h": 269.6
},
"luminance": 0.06567
}Semantic roles & 50–950 ramp
primary
#2B3EA2
secondary
#C0B269
accent
#C947E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81