#2B418B#2B418B
#2B418B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.1% C 0.126 H 267.9°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2B418B |
|---|---|
| RGB | rgb(43, 65, 139) |
| HSL | hsl(226, 53%, 36%) |
| HSV | hsv(226, 69%, 55%) |
| CMYK | cmyk(69.1%, 53.2%, 0%, 45.5%) |
| CIE-LAB | lab(29.81, 17.45, -43.84) |
| CIE-LCH | lch(29.81, 47.18, 291.70°) |
| OKLab | oklab(40.13% -0.0047 -0.1259) |
| OKLCH | oklch(40.13% 0.126 267.9) |
| XYZ | xyz(7.5452, 6.1575, 25.2120) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.63
Darkish Blue
#014182
ΔE00 4.89
Cobalt
#0047AB
ΔE00 5.31
Blueberry
#464196
ΔE00 5.31
Twilight Blue
#0A437A
ΔE00 5.79
Sapphire (survey)
#2138AB
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B418B #8B752B
analogous
#2B718B #2B418B #452B8B
triadic
#2B418B #8B2B41 #418B2B
tetradic
#2B418B #8B2B71 #8B752B #2B8B45
square
#2B418B #8B2B71 #8B752B #2B8B45
split-complementary
#2B418B #8B452B #718B2B
monochromatic
#0E152E #1D2B5C #2B418B #3957BA #627BCE
Accessibility & contrast
On white
9.41
#2B418B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#2B418B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B418B
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B418B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B418B | 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)
#134B8E
Deuteranopia (green-blind)
#004289
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2b418b; /* rgb */ color: rgb(43, 65, 139); /* oklch */ color: oklch(40.1% 0.126 267.9);
Tailwind
colors: {
custom: {
50: '#7075ad',
500: '#2b418b',
950: '#000000',
},
}SCSS
$custom: #2b418b; $custom-light: #7075ad; $custom-dark: #000000;
JSON
{
"hex": "#2b418b",
"rgb": {
"r": 43,
"g": 65,
"b": 139
},
"hsl": {
"h": 226.25,
"s": 52.747,
"l": 35.686
},
"oklch": {
"l": 0.40129,
"c": 0.12597,
"h": 267.9
},
"luminance": 0.06158
}Semantic roles & 50–950 ramp
primary
#2B418B
secondary
#B5A15D
accent
#BB4CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F