#2B3EB5#2B3EB5
#2B3EB5 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.2% C 0.188 H 269.4°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3EB5 |
|---|---|
| RGB | rgb(43, 62, 181) |
| HSL | hsl(232, 62%, 44%) |
| HSV | hsv(232, 76%, 71%) |
| CMYK | cmyk(76.2%, 65.7%, 0%, 29%) |
| CIE-LAB | lab(32.47, 35.17, -64.89) |
| CIE-LCH | lch(32.47, 73.81, 298.46°) |
| OKLab | oklab(43.18% -0.0019 -0.1877) |
| OKLCH | oklch(43.18% 0.188 269.4) |
| XYZ | xyz(11.0565, 7.2938, 44.5322) |
| Luminance | 0.0730 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.24
Blue Blue
#2242C7
ΔE00 2.58
Ocean Blue
#4F42B5
ΔE00 4.60
Blue (survey)
#0343DF
ΔE00 5.37
Cobalt
#0047AB
ΔE00 5.37
Blueberry
#464196
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3EB5 #B5A22B
analogous
#2B83B5 #2B3EB5 #5D2BB5
triadic
#2B3EB5 #B52B3E #3EB52B
tetradic
#2B3EB5 #B52B83 #B5A22B #2BB55D
square
#2B3EB5 #B52B83 #B5A22B #2BB55D
split-complementary
#2B3EB5 #B55D2B #83B52B
monochromatic
#141C52 #1F2D84 #2B3EB5 #495CD4 #7B89E0
Accessibility & contrast
On white
8.54
#2B3EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2B3EB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3EB5
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3EB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3EB5 | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0046B3
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2b3eb5; /* rgb */ color: rgb(43, 62, 181); /* oklch */ color: oklch(43.2% 0.188 269.4);
Tailwind
colors: {
custom: {
50: '#7a73cc',
500: '#2b3eb5',
950: '#000000',
},
}SCSS
$custom: #2b3eb5; $custom-light: #7a73cc; $custom-dark: #000000;
JSON
{
"hex": "#2b3eb5",
"rgb": {
"r": 43,
"g": 62,
"b": 181
},
"hsl": {
"h": 231.739,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.43182,
"c": 0.18775,
"h": 269.4
},
"luminance": 0.07295
}Semantic roles & 50–950 ramp
primary
#2B3EB5
secondary
#C8BC74
accent
#CE43E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82