#2B3EA1#2B3EA1
#2B3EA1 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.161 H 269.6°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3EA1 |
|---|---|
| RGB | rgb(43, 62, 161) |
| HSL | hsl(230, 58%, 40%) |
| HSV | hsv(230, 73%, 63%) |
| CMYK | cmyk(73.3%, 61.5%, 0%, 36.9%) |
| CIE-LAB | lab(30.71, 27.80, -55.79) |
| CIE-LCH | lch(30.71, 62.33, 296.48°) |
| OKLab | oklab(41.35% -0.0012 -0.1611) |
| OKLCH | oklch(41.35% 0.161 269.6) |
| XYZ | xyz(9.1497, 6.5311, 34.4897) |
| Luminance | 0.0653 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.41
Blueberry
#464196
ΔE00 4.46
Cobalt
#0047AB
ΔE00 4.71
Blue Blue
#2242C7
ΔE00 5.17
Cobalt (survey)
#1E488F
ΔE00 5.93
Ocean Blue
#4F42B5
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3EA1 #A18E2B
analogous
#2B79A1 #2B3EA1 #532BA1
triadic
#2B3EA1 #A12B3E #3EA12B
tetradic
#2B3EA1 #A12B79 #A18E2B #2BA153
square
#2B3EA1 #A12B79 #A18E2B #2BA153
split-complementary
#2B3EA1 #A1532B #79A12B
monochromatic
#111940 #1E2B71 #2B3EA1 #3E55CB #6E7FD8
Accessibility & contrast
On white
9.11
#2B3EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2B3EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3EA1
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3EA1 | 1.00 | 9.11 | 2.31 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2b3ea1; /* rgb */ color: rgb(43, 62, 161); /* oklch */ color: oklch(41.4% 0.161 269.6);
Tailwind
colors: {
custom: {
50: '#7573be',
500: '#2b3ea1',
950: '#000000',
},
}SCSS
$custom: #2b3ea1; $custom-light: #7573be; $custom-dark: #000000;
JSON
{
"hex": "#2b3ea1",
"rgb": {
"r": 43,
"g": 62,
"b": 161
},
"hsl": {
"h": 230.339,
"s": 57.843,
"l": 40
},
"oklch": {
"l": 0.41352,
"c": 0.16107,
"h": 269.6
},
"luminance": 0.06532
}Semantic roles & 50–950 ramp
primary
#2B3EA1
secondary
#BFB169
accent
#C847E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81