#2B3EAB#2B3EAB
#2B3EAB is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.175 H 269.5°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3EAB |
|---|---|
| RGB | rgb(43, 62, 171) |
| HSL | hsl(231, 60%, 42%) |
| HSV | hsv(231, 75%, 67%) |
| CMYK | cmyk(74.9%, 63.7%, 0%, 32.9%) |
| CIE-LAB | lab(31.57, 31.51, -60.40) |
| CIE-LCH | lch(31.57, 68.13, 297.55°) |
| OKLab | oklab(42.25% -0.0014 -0.1746) |
| OKLCH | oklch(42.25% 0.175 269.5) |
| XYZ | xyz(10.0670, 6.8980, 39.3211) |
| Luminance | 0.0690 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.78
Blue Blue
#2242C7
ΔE00 3.81
Cobalt
#0047AB
ΔE00 4.87
Blueberry
#464196
ΔE00 5.02
Ocean Blue
#4F42B5
ΔE00 5.14
Blue (survey)
#0343DF
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3EAB #AB982B
analogous
#2B7EAB #2B3EAB #582BAB
triadic
#2B3EAB #AB2B3E #3EAB2B
tetradic
#2B3EAB #AB2B7E #AB982B #2BAB58
square
#2B3EAB #AB2B7E #AB982B #2BAB58
split-complementary
#2B3EAB #AB582B #7EAB2B
monochromatic
#121B49 #1F2C7A #2B3EAB #4358D0 #7484DC
Accessibility & contrast
On white
8.82
#2B3EAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2B3EAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3EAB
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3EAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3EAB | 1.00 | 8.82 | 2.38 | 8.82 |
| #FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0044A9
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2b3eab; /* rgb */ color: rgb(43, 62, 171); /* oklch */ color: oklch(42.3% 0.175 269.5);
Tailwind
colors: {
custom: {
50: '#7873c5',
500: '#2b3eab',
950: '#000000',
},
}SCSS
$custom: #2b3eab; $custom-light: #7873c5; $custom-dark: #000000;
JSON
{
"hex": "#2b3eab",
"rgb": {
"r": 43,
"g": 62,
"b": 171
},
"hsl": {
"h": 231.094,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.42252,
"c": 0.1746,
"h": 269.5
},
"luminance": 0.06899
}Semantic roles & 50–950 ramp
primary
#2B3EAB
secondary
#C4B76E
accent
#CB45E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82