#2B3BAB#2B3BAB
#2B3BAB is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.7% C 0.178 H 270.2°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3BAB |
|---|---|
| RGB | rgb(43, 59, 171) |
| HSL | hsl(233, 60%, 42%) |
| HSV | hsv(233, 75%, 67%) |
| CMYK | cmyk(74.9%, 65.5%, 0%, 32.9%) |
| CIE-LAB | lab(30.83, 33.45, -61.61) |
| CIE-LCH | lch(30.83, 70.11, 298.50°) |
| OKLab | oklab(41.71% 0.0005 -0.1782) |
| OKLCH | oklch(41.71% 0.178 270.2) |
| XYZ | xyz(9.9084, 6.5807, 39.2682) |
| Luminance | 0.0658 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.08
Blue Blue
#2242C7
ΔE00 4.12
Blueberry
#464196
ΔE00 5.13
Ocean Blue
#4F42B5
ΔE00 5.13
Cobalt
#0047AB
ΔE00 5.68
Blue With A Hint Of Purple
#533CC6
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3BAB #AB9B2B
analogous
#2B7BAB #2B3BAB #5B2BAB
triadic
#2B3BAB #AB2B3B #3BAB2B
tetradic
#2B3BAB #AB2B7B #AB9B2B #2BAB5B
square
#2B3BAB #AB2B7B #AB9B2B #2BAB5B
split-complementary
#2B3BAB #AB5B2B #7BAB2B
monochromatic
#121949 #1F2A7A #2B3BAB #4355D0 #7481DC
Accessibility & contrast
On white
9.07
#2B3BAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2B3BAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3BAB
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3BAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3BAB | 1.00 | 9.07 | 2.32 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2b3bab; /* rgb */ color: rgb(43, 59, 171); /* oklch */ color: oklch(41.7% 0.178 270.2);
Tailwind
colors: {
custom: {
50: '#7871c5',
500: '#2b3bab',
950: '#000000',
},
}SCSS
$custom: #2b3bab; $custom-light: #7871c5; $custom-dark: #000000;
JSON
{
"hex": "#2b3bab",
"rgb": {
"r": 43,
"g": 59,
"b": 171
},
"hsl": {
"h": 232.5,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.41708,
"c": 0.17816,
"h": 270.2
},
"luminance": 0.06582
}Semantic roles & 50–950 ramp
primary
#2B3BAB
secondary
#C4B96E
accent
#CF45E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82