#2B3174#2B3174
#2B3174 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.9% C 0.114 H 275.0°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3174 |
|---|---|
| RGB | rgb(43, 49, 116) |
| HSL | hsl(235, 46%, 31%) |
| HSV | hsv(235, 63%, 45%) |
| CMYK | cmyk(62.9%, 57.8%, 0%, 54.5%) |
| CIE-LAB | lab(23.57, 19.79, -39.48) |
| CIE-LCH | lch(23.57, 44.16, 296.62°) |
| OKLab | oklab(34.89% 0.0099 -0.1133) |
| OKLCH | oklch(34.89% 0.114 275) |
| XYZ | xyz(5.2459, 3.9708, 17.0096) |
| Luminance | 0.0397 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.20
Marine
#042E60
ΔE00 6.45
Midnight Blue
#191970
ΔE00 7.08
Blueberry
#464196
ΔE00 7.25
Marine Blue
#01386A
ΔE00 7.91
Navy Blue
#1B2A4A
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3174 #746E2B
analogous
#2B5574 #2B3174 #492B74
triadic
#2B3174 #742B31 #31742B
tetradic
#2B3174 #742B55 #746E2B #2B7449
square
#2B3174 #742B55 #746E2B #2B7449
split-complementary
#2B3174 #74492B #55742B
monochromatic
#0A0B1B #1A1E47 #2B3174 #3C44A1 #5861C1
Accessibility & contrast
On white
11.70
#2B3174 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2B3174 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3174
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3174 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3174 | 1.00 | 11.70 | 1.79 | 11.70 |
| #FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#013B76
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2b3174; /* rgb */ color: rgb(43, 49, 116); /* oklch */ color: oklch(34.9% 0.114 275.0);
Tailwind
colors: {
custom: {
50: '#6c699d',
500: '#2b3174',
950: '#000000',
},
}SCSS
$custom: #2b3174; $custom-light: #6c699d; $custom-dark: #000000;
JSON
{
"hex": "#2b3174",
"rgb": {
"r": 43,
"g": 49,
"b": 116
},
"hsl": {
"h": 235.068,
"s": 45.912,
"l": 31.176
},
"oklch": {
"l": 0.34892,
"c": 0.11372,
"h": 275
},
"luminance": 0.03971
}Semantic roles & 50–950 ramp
primary
#2B3174
secondary
#A69F55
accent
#CB52D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E