#2D4190#2D4190
#2D4190 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.133 H 269.0°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4190 |
|---|---|
| RGB | rgb(45, 65, 144) |
| HSL | hsl(228, 52%, 37%) |
| HSV | hsv(228, 69%, 56%) |
| CMYK | cmyk(68.7%, 54.9%, 0%, 43.5%) |
| CIE-LAB | lab(30.28, 19.68, -46.14) |
| CIE-LCH | lch(30.28, 50.16, 293.09°) |
| OKLab | oklab(40.63% -0.0022 -0.1326) |
| OKLCH | oklch(40.63% 0.133 269) |
| XYZ | xyz(8.0048, 6.3513, 27.1842) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.02
Blueberry
#464196
ΔE00 4.64
Cobalt
#0047AB
ΔE00 5.01
Sapphire (survey)
#2138AB
ΔE00 5.26
Darkish Blue
#014182
ΔE00 5.54
Darkslateblue
#483D8B
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4190 #907C2D
analogous
#2D7390 #2D4190 #4B2D90
triadic
#2D4190 #902D41 #41902D
tetradic
#2D4190 #902D73 #907C2D #2D904B
square
#2D4190 #902D73 #907C2D #2D904B
split-complementary
#2D4190 #904B2D #73902D
monochromatic
#101733 #1E2C61 #2D4190 #3C56BF #687DD0
Accessibility & contrast
On white
9.25
#2D4190 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2D4190 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4190
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4190 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4190 | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#084C93
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2d4190; /* rgb */ color: rgb(45, 65, 144); /* oklch */ color: oklch(40.6% 0.133 269.0);
Tailwind
colors: {
custom: {
50: '#7275b1',
500: '#2d4190',
950: '#000000',
},
}SCSS
$custom: #2d4190; $custom-light: #7275b1; $custom-dark: #000000;
JSON
{
"hex": "#2d4190",
"rgb": {
"r": 45,
"g": 65,
"b": 144
},
"hsl": {
"h": 227.879,
"s": 52.381,
"l": 37.059
},
"oklch": {
"l": 0.40634,
"c": 0.13263,
"h": 269
},
"luminance": 0.06352
}Semantic roles & 50–950 ramp
primary
#2D4190
secondary
#B6A562
accent
#BF4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80