#2B3A9C#2B3A9C
#2B3A9C is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.159 H 270.7°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3A9C |
|---|---|
| RGB | rgb(43, 58, 156) |
| HSL | hsl(232, 57%, 39%) |
| HSV | hsv(232, 72%, 61%) |
| CMYK | cmyk(72.4%, 62.8%, 0%, 38.8%) |
| CIE-LAB | lab(29.26, 28.59, -55.14) |
| CIE-LCH | lch(29.26, 62.11, 297.40°) |
| OKLab | oklab(40.14% 0.0019 -0.1592) |
| OKLCH | oklch(40.14% 0.159 270.7) |
| XYZ | xyz(8.5080, 5.9391, 32.1440) |
| Luminance | 0.0594 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.31
Blueberry
#464196
ΔE00 4.38
Darkslateblue
#483D8B
ΔE00 5.69
Cobalt
#0047AB
ΔE00 5.86
Blue Blue
#2242C7
ΔE00 6.12
Ocean Blue
#4F42B5
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3A9C #9C8D2B
analogous
#2B739C #2B3A9C #552B9C
triadic
#2B3A9C #9C2B3A #3A9C2B
tetradic
#2B3A9C #9C2B73 #9C8D2B #2B9C55
square
#2B3A9C #9C2B73 #9C8D2B #2B9C55
split-complementary
#2B3A9C #9C552B #739C2B
monochromatic
#11163C #1E286C #2B3A9C #3B4EC9 #6B79D6
Accessibility & contrast
On white
9.60
#2B3A9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2B3A9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3A9C
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3A9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3A9C | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2b3a9c; /* rgb */ color: rgb(43, 58, 156); /* oklch */ color: oklch(40.1% 0.159 270.7);
Tailwind
colors: {
custom: {
50: '#7570ba',
500: '#2b3a9c',
950: '#000000',
},
}SCSS
$custom: #2b3a9c; $custom-light: #7570ba; $custom-dark: #000000;
JSON
{
"hex": "#2b3a9c",
"rgb": {
"r": 43,
"g": 58,
"b": 156
},
"hsl": {
"h": 232.035,
"s": 56.784,
"l": 39.02
},
"oklch": {
"l": 0.40142,
"c": 0.15921,
"h": 270.7
},
"luminance": 0.0594
}Semantic roles & 50–950 ramp
primary
#2B3A9C
secondary
#BDB166
accent
#CC48E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81