#2B408F#2B408F
#2B408F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.133 H 268.5°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2B408F |
|---|---|
| RGB | rgb(43, 64, 143) |
| HSL | hsl(227, 54%, 36%) |
| HSV | hsv(227, 70%, 56%) |
| CMYK | cmyk(69.9%, 55.2%, 0%, 43.9%) |
| CIE-LAB | lab(29.82, 19.65, -46.28) |
| CIE-LCH | lch(29.82, 50.28, 293.01°) |
| OKLab | oklab(40.23% -0.0034 -0.1331) |
| OKLCH | oklch(40.23% 0.133 268.5) |
| XYZ | xyz(7.7859, 6.1628, 26.7605) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.06
Blueberry
#464196
ΔE00 4.85
Cobalt
#0047AB
ΔE00 5.09
Sapphire (survey)
#2138AB
ΔE00 5.22
Darkish Blue
#014182
ΔE00 5.37
Darkslateblue
#483D8B
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B408F #8F7A2B
analogous
#2B728F #2B408F #482B8F
triadic
#2B408F #8F2B40 #408F2B
tetradic
#2B408F #8F2B72 #8F7A2B #2B8F48
square
#2B408F #8F2B72 #8F7A2B #2B8F48
split-complementary
#2B408F #8F482B #728F2B
monochromatic
#0F1631 #1D2B60 #2B408F #3955BE #647BD0
Accessibility & contrast
On white
9.41
#2B408F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#2B408F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B408F
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B408F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B408F | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#054B92
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2b408f; /* rgb */ color: rgb(43, 64, 143); /* oklch */ color: oklch(40.2% 0.133 268.5);
Tailwind
colors: {
custom: {
50: '#7174b0',
500: '#2b408f',
950: '#000000',
},
}SCSS
$custom: #2b408f; $custom-light: #7174b0; $custom-dark: #000000;
JSON
{
"hex": "#2b408f",
"rgb": {
"r": 43,
"g": 64,
"b": 143
},
"hsl": {
"h": 227.4,
"s": 53.763,
"l": 36.471
},
"oklch": {
"l": 0.40232,
"c": 0.13312,
"h": 268.5
},
"luminance": 0.06164
}Semantic roles & 50–950 ramp
primary
#2B408F
secondary
#B7A45F
accent
#BE4BDD
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090811
muted
#7B7B80