#2B3C9F#2B3C9F
#2B3C9F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.161 H 270.1°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3C9F |
|---|---|
| RGB | rgb(43, 60, 159) |
| HSL | hsl(231, 57%, 40%) |
| HSV | hsv(231, 73%, 62%) |
| CMYK | cmyk(73%, 62.3%, 0%, 37.6%) |
| CIE-LAB | lab(30.03, 28.38, -55.70) |
| CIE-LCH | lch(30.03, 62.51, 297.00°) |
| OKLab | oklab(40.79% 0.0003 -0.1608) |
| OKLCH | oklch(40.79% 0.161 270.1) |
| XYZ | xyz(8.8680, 6.2476, 33.5327) |
| Luminance | 0.0625 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.20
Blueberry
#464196
ΔE00 4.39
Cobalt
#0047AB
ΔE00 5.27
Blue Blue
#2242C7
ΔE00 5.56
Darkslateblue
#483D8B
ΔE00 5.93
Ocean Blue
#4F42B5
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3C9F #9F8E2B
analogous
#2B769F #2B3C9F #542B9F
triadic
#2B3C9F #9F2B3C #3C9F2B
tetradic
#2B3C9F #9F2B76 #9F8E2B #2B9F54
square
#2B3C9F #9F2B76 #9F8E2B #2B9F54
split-complementary
#2B3C9F #9F542B #769F2B
monochromatic
#11183F #1E2A6F #2B3C9F #3D52CA #6D7DD7
Accessibility & contrast
On white
9.33
#2B3C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2B3C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3C9F
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3C9F | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2b3c9f; /* rgb */ color: rgb(43, 60, 159); /* oklch */ color: oklch(40.8% 0.161 270.1);
Tailwind
colors: {
custom: {
50: '#7571bc',
500: '#2b3c9f',
950: '#000000',
},
}SCSS
$custom: #2b3c9f; $custom-light: #7571bc; $custom-dark: #000000;
JSON
{
"hex": "#2b3c9f",
"rgb": {
"r": 43,
"g": 60,
"b": 159
},
"hsl": {
"h": 231.207,
"s": 57.426,
"l": 39.608
},
"oklch": {
"l": 0.40791,
"c": 0.16083,
"h": 270.1
},
"luminance": 0.06249
}Semantic roles & 50–950 ramp
primary
#2B3C9F
secondary
#BEB267
accent
#CA47E1
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81