#2B3D8A#2B3D8A
#2B3D8A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.130 H 269.6°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3D8A |
|---|---|
| RGB | rgb(43, 61, 138) |
| HSL | hsl(229, 52%, 35%) |
| HSV | hsv(229, 69%, 54%) |
| CMYK | cmyk(68.8%, 55.8%, 0%, 45.9%) |
| CIE-LAB | lab(28.60, 19.80, -45.16) |
| CIE-LCH | lch(28.60, 49.31, 293.67°) |
| OKLab | oklab(39.2% -0.001 -0.1298) |
| OKLCH | oklch(39.2% 0.13 269.6) |
| XYZ | xyz(7.2509, 5.6854, 24.7551) |
| Luminance | 0.0569 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.87
Cobalt (survey)
#1E488F
ΔE00 4.93
Sapphire (survey)
#2138AB
ΔE00 5.45
Darkslateblue
#483D8B
ΔE00 5.58
Darkish Blue
#014182
ΔE00 5.70
Cobalt
#0047AB
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3D8A #8A782B
analogous
#2B6C8A #2B3D8A #492B8A
triadic
#2B3D8A #8A2B3D #3D8A2B
tetradic
#2B3D8A #8A2B6C #8A782B #2B8A49
square
#2B3D8A #8A2B6C #8A782B #2B8A49
split-complementary
#2B3D8A #8A492B #6C8A2B
monochromatic
#0E142D #1C285B #2B3D8A #3A52B9 #6176CE
Accessibility & contrast
On white
9.83
#2B3D8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2B3D8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3D8A
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3D8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3D8A | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#02488D
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2b3d8a; /* rgb */ color: rgb(43, 61, 138); /* oklch */ color: oklch(39.2% 0.130 269.6);
Tailwind
colors: {
custom: {
50: '#7072ad',
500: '#2b3d8a',
950: '#000000',
},
}SCSS
$custom: #2b3d8a; $custom-light: #7072ad; $custom-dark: #000000;
JSON
{
"hex": "#2b3d8a",
"rgb": {
"r": 43,
"g": 61,
"b": 138
},
"hsl": {
"h": 228.632,
"s": 52.486,
"l": 35.49
},
"oklch": {
"l": 0.39198,
"c": 0.12985,
"h": 269.6
},
"luminance": 0.05686
}Semantic roles & 50–950 ramp
primary
#2B3D8A
secondary
#B4A35D
accent
#C14CDC
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F