#2B41A0#2B41A0
#2B41A0 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.9% C 0.156 H 268.7°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2B41A0 |
|---|---|
| RGB | rgb(43, 65, 160) |
| HSL | hsl(229, 58%, 40%) |
| HSV | hsv(229, 73%, 63%) |
| CMYK | cmyk(73.1%, 59.4%, 0%, 37.3%) |
| CIE-LAB | lab(31.42, 25.42, -54.04) |
| CIE-LCH | lch(31.42, 59.72, 295.19°) |
| OKLab | oklab(41.85% -0.0035 -0.1559) |
| OKLCH | oklch(41.85% 0.156 268.7) |
| XYZ | xyz(9.2295, 6.8313, 34.0830) |
| Luminance | 0.0683 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.33
Cobalt
#0047AB
ΔE00 3.94
Blueberry
#464196
ΔE00 4.61
Cobalt (survey)
#1E488F
ΔE00 5.00
Blue Blue
#2242C7
ΔE00 5.29
Ocean Blue
#4F42B5
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B41A0 #A08A2B
analogous
#2B7BA0 #2B41A0 #502BA0
triadic
#2B41A0 #A02B41 #41A02B
tetradic
#2B41A0 #A02B7B #A08A2B #2BA050
square
#2B41A0 #A02B7B #A08A2B #2BA050
split-complementary
#2B41A0 #A0502B #7BA02B
monochromatic
#111A40 #1E2D70 #2B41A0 #3D58CB #6E82D8
Accessibility & contrast
On white
8.87
#2B41A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#2B41A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B41A0
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B41A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B41A0 | 1.00 | 8.87 | 2.37 | 8.87 |
| #FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#00459E
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2b41a0; /* rgb */ color: rgb(43, 65, 160); /* oklch */ color: oklch(41.9% 0.156 268.7);
Tailwind
colors: {
custom: {
50: '#7575bd',
500: '#2b41a0',
950: '#000000',
},
}SCSS
$custom: #2b41a0; $custom-light: #7575bd; $custom-dark: #000000;
JSON
{
"hex": "#2b41a0",
"rgb": {
"r": 43,
"g": 65,
"b": 160
},
"hsl": {
"h": 228.718,
"s": 57.635,
"l": 39.804
},
"oklch": {
"l": 0.4185,
"c": 0.15592,
"h": 268.7
},
"luminance": 0.06832
}Semantic roles & 50–950 ramp
primary
#2B41A0
secondary
#BFAE68
accent
#C447E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81