#2B3F8E#2B3F8E
#2B3F8E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.133 H 268.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3F8E |
|---|---|
| RGB | rgb(43, 63, 142) |
| HSL | hsl(228, 54%, 36%) |
| HSV | hsv(228, 70%, 56%) |
| CMYK | cmyk(69.7%, 55.6%, 0%, 44.3%) |
| CIE-LAB | lab(29.47, 19.95, -46.24) |
| CIE-LCH | lch(29.47, 50.36, 293.34°) |
| OKLab | oklab(39.94% -0.0026 -0.133) |
| OKLCH | oklch(39.94% 0.133 268.9) |
| XYZ | xyz(7.6546, 6.0209, 26.3447) |
| Luminance | 0.0602 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.36
Blueberry
#464196
ΔE00 4.79
Sapphire (survey)
#2138AB
ΔE00 5.17
Cobalt
#0047AB
ΔE00 5.37
Darkish Blue
#014182
ΔE00 5.50
Darkslateblue
#483D8B
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3F8E #8E7A2B
analogous
#2B718E #2B3F8E #492B8E
triadic
#2B3F8E #8E2B3F #3F8E2B
tetradic
#2B3F8E #8E2B71 #8E7A2B #2B8E49
square
#2B3F8E #8E2B71 #8E7A2B #2B8E49
split-complementary
#2B3F8E #8E492B #718E2B
monochromatic
#0F1530 #1D2A5F #2B3F8E #3954BD #6379D0
Accessibility & contrast
On white
9.53
#2B3F8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#2B3F8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3F8E
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3F8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3F8E | 1.00 | 9.53 | 2.20 | 9.53 |
| #FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#024A91
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2b3f8e; /* rgb */ color: rgb(43, 63, 142); /* oklch */ color: oklch(39.9% 0.133 268.9);
Tailwind
colors: {
custom: {
50: '#7173b0',
500: '#2b3f8e',
950: '#000000',
},
}SCSS
$custom: #2b3f8e; $custom-light: #7173b0; $custom-dark: #000000;
JSON
{
"hex": "#2b3f8e",
"rgb": {
"r": 43,
"g": 63,
"b": 142
},
"hsl": {
"h": 227.879,
"s": 53.514,
"l": 36.275
},
"oklch": {
"l": 0.39942,
"c": 0.133,
"h": 268.9
},
"luminance": 0.06022
}Semantic roles & 50–950 ramp
primary
#2B3F8E
secondary
#B6A45F
accent
#BF4BDD
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090810
muted
#7B7B7F