#2B3AA8#2B3AA8
#2B3AA8 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.2% C 0.175 H 270.4°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3AA8 |
|---|---|
| RGB | rgb(43, 58, 168) |
| HSL | hsl(233, 59%, 41%) |
| HSV | hsv(233, 74%, 66%) |
| CMYK | cmyk(74.4%, 65.5%, 0%, 34.1%) |
| CIE-LAB | lab(30.32, 33.00, -60.66) |
| CIE-LCH | lch(30.32, 69.06, 298.55°) |
| OKLab | oklab(41.25% 0.0013 -0.1754) |
| OKLCH | oklch(41.25% 0.175 270.4) |
| XYZ | xyz(9.5748, 6.3659, 37.7623) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 0.98
Blue Blue
#2242C7
ΔE00 4.61
Blueberry
#464196
ΔE00 4.98
Ocean Blue
#4F42B5
ΔE00 5.37
Cobalt
#0047AB
ΔE00 5.88
Darkslateblue
#483D8B
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3AA8 #A8992B
analogous
#2B79A8 #2B3AA8 #5B2BA8
triadic
#2B3AA8 #A82B3A #3AA82B
tetradic
#2B3AA8 #A82B79 #A8992B #2BA85B
square
#2B3AA8 #A82B79 #A8992B #2BA85B
split-complementary
#2B3AA8 #A85B2B #79A82B
monochromatic
#121847 #1F2977 #2B3AA8 #4253CF #727FDB
Accessibility & contrast
On white
9.24
#2B3AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2B3AA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3AA8
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3AA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3AA8 | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2b3aa8; /* rgb */ color: rgb(43, 58, 168); /* oklch */ color: oklch(41.2% 0.175 270.4);
Tailwind
colors: {
custom: {
50: '#7770c3',
500: '#2b3aa8',
950: '#000000',
},
}SCSS
$custom: #2b3aa8; $custom-light: #7770c3; $custom-dark: #000000;
JSON
{
"hex": "#2b3aa8",
"rgb": {
"r": 43,
"g": 58,
"b": 168
},
"hsl": {
"h": 232.8,
"s": 59.242,
"l": 41.373
},
"oklch": {
"l": 0.41247,
"c": 0.17538,
"h": 270.4
},
"luminance": 0.06367
}Semantic roles & 50–950 ramp
primary
#2B3AA8
secondary
#C2B86C
accent
#D045E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82