#2B41B6#2B41B6
#2B41B6 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.8% C 0.186 H 268.8°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2B41B6 |
|---|---|
| RGB | rgb(43, 65, 182) |
| HSL | hsl(231, 62%, 44%) |
| HSV | hsv(231, 76%, 71%) |
| CMYK | cmyk(76.4%, 64.3%, 0%, 28.6%) |
| CIE-LAB | lab(33.29, 33.61, -64.14) |
| CIE-LCH | lch(33.29, 72.42, 297.66°) |
| OKLab | oklab(43.81% -0.0038 -0.1855) |
| OKLCH | oklch(43.81% 0.186 268.8) |
| XYZ | xyz(11.3271, 7.6703, 45.1304) |
| Luminance | 0.0767 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.20
Sapphire (survey)
#2138AB
ΔE00 2.95
Ocean Blue
#4F42B5
ΔE00 4.69
Cobalt
#0047AB
ΔE00 4.75
Blue (survey)
#0343DF
ΔE00 5.05
Blueberry
#464196
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B41B6 #B6A02B
analogous
#2B87B6 #2B41B6 #5B2BB6
triadic
#2B41B6 #B62B41 #41B62B
tetradic
#2B41B6 #B62B87 #B6A02B #2BB65B
square
#2B41B6 #B62B87 #B6A02B #2BB65B
split-complementary
#2B41B6 #B65B2B #87B62B
monochromatic
#141E53 #1F2F84 #2B41B6 #4A60D4 #7B8BE0
Accessibility & contrast
On white
8.29
#2B41B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2B41B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B41B6
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B41B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B41B6 | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0048B4
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2b41b6; /* rgb */ color: rgb(43, 65, 182); /* oklch */ color: oklch(43.8% 0.186 268.8);
Tailwind
colors: {
custom: {
50: '#7a75cd',
500: '#2b41b6',
950: '#000000',
},
}SCSS
$custom: #2b41b6; $custom-light: #7a75cd; $custom-dark: #000000;
JSON
{
"hex": "#2b41b6",
"rgb": {
"r": 43,
"g": 65,
"b": 182
},
"hsl": {
"h": 230.504,
"s": 61.778,
"l": 44.118
},
"oklch": {
"l": 0.43811,
"c": 0.18556,
"h": 268.8
},
"luminance": 0.07672
}Semantic roles & 50–950 ramp
primary
#2B41B6
secondary
#C8BB75
accent
#CB43E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82