#2B3CA6#2B3CA6
#2B3CA6 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.170 H 270.0°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3CA6 |
|---|---|
| RGB | rgb(43, 60, 166) |
| HSL | hsl(232, 59%, 41%) |
| HSV | hsv(232, 74%, 65%) |
| CMYK | cmyk(74.1%, 63.9%, 0%, 34.9%) |
| CIE-LAB | lab(30.63, 30.97, -58.94) |
| CIE-LCH | lch(30.63, 66.58, 297.72°) |
| OKLab | oklab(41.43% 0.0001 -0.1703) |
| OKLCH | oklch(41.43% 0.17 270) |
| XYZ | xyz(9.4927, 6.4975, 36.8229) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.47
Blue Blue
#2242C7
ΔE00 4.63
Blueberry
#464196
ΔE00 4.73
Cobalt
#0047AB
ΔE00 5.29
Ocean Blue
#4F42B5
ΔE00 5.49
Darkslateblue
#483D8B
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3CA6 #A6952B
analogous
#2B79A6 #2B3CA6 #572BA6
triadic
#2B3CA6 #A62B3C #3CA62B
tetradic
#2B3CA6 #A62B79 #A6952B #2BA657
square
#2B3CA6 #A62B79 #A6952B #2BA657
split-complementary
#2B3CA6 #A6572B #79A62B
monochromatic
#121945 #1E2A75 #2B3CA6 #4154CE #7180DA
Accessibility & contrast
On white
9.13
#2B3CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2B3CA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3CA6
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3CA6 | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA9
Deuteranopia (green-blind)
#0042A4
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2b3ca6; /* rgb */ color: rgb(43, 60, 166); /* oklch */ color: oklch(41.4% 0.170 270.0);
Tailwind
colors: {
custom: {
50: '#7771c1',
500: '#2b3ca6',
950: '#000000',
},
}SCSS
$custom: #2b3ca6; $custom-light: #7771c1; $custom-dark: #000000;
JSON
{
"hex": "#2b3ca6",
"rgb": {
"r": 43,
"g": 60,
"b": 166
},
"hsl": {
"h": 231.707,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.41425,
"c": 0.17032,
"h": 270
},
"luminance": 0.06498
}Semantic roles & 50–950 ramp
primary
#2B3CA6
secondary
#C1B66B
accent
#CC46E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81