#2B3A8E#2B3A8E
#2B3A8E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.140 H 270.8°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3A8E |
|---|---|
| RGB | rgb(43, 58, 142) |
| HSL | hsl(231, 54%, 36%) |
| HSV | hsv(231, 70%, 56%) |
| CMYK | cmyk(69.7%, 59.2%, 0%, 44.3%) |
| CIE-LAB | lab(28.09, 23.35, -48.46) |
| CIE-LCH | lch(28.09, 53.80, 295.73°) |
| OKLab | oklab(38.91% 0.0019 -0.1396) |
| OKLCH | oklch(38.91% 0.14 270.8) |
| XYZ | xyz(7.3901, 5.4920, 26.2565) |
| Luminance | 0.0549 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.44
Blueberry
#464196
ΔE00 4.51
Darkslateblue
#483D8B
ΔE00 5.20
Cobalt (survey)
#1E488F
ΔE00 6.01
Cobalt
#0047AB
ΔE00 6.48
Darkish Blue
#014182
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3A8E #8E7F2B
analogous
#2B6C8E #2B3A8E #4E2B8E
triadic
#2B3A8E #8E2B3A #3A8E2B
tetradic
#2B3A8E #8E2B6C #8E7F2B #2B8E4E
square
#2B3A8E #8E2B6C #8E7F2B #2B8E4E
split-complementary
#2B3A8E #8E4E2B #6C8E2B
monochromatic
#0F1430 #1D275F #2B3A8E #394DBD #6374D0
Accessibility & contrast
On white
10.01
#2B3A8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#2B3A8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3A8E
10.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3A8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3A8E | 1.00 | 10.01 | 2.10 | 10.01 |
| #FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2b3a8e; /* rgb */ color: rgb(43, 58, 142); /* oklch */ color: oklch(38.9% 0.140 270.8);
Tailwind
colors: {
custom: {
50: '#7170b0',
500: '#2b3a8e',
950: '#000000',
},
}SCSS
$custom: #2b3a8e; $custom-light: #7170b0; $custom-dark: #000000;
JSON
{
"hex": "#2b3a8e",
"rgb": {
"r": 43,
"g": 58,
"b": 142
},
"hsl": {
"h": 230.909,
"s": 53.514,
"l": 36.275
},
"oklch": {
"l": 0.38913,
"c": 0.13961,
"h": 270.8
},
"luminance": 0.05493
}Semantic roles & 50–950 ramp
primary
#2B3A8E
secondary
#B6A95F
accent
#C74BDD
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F