#2D4290#2D4290
#2D4290 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.131 H 268.6°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4290 |
|---|---|
| RGB | rgb(45, 66, 144) |
| HSL | hsl(227, 52%, 37%) |
| HSV | hsv(227, 69%, 56%) |
| CMYK | cmyk(68.7%, 54.2%, 0%, 43.5%) |
| CIE-LAB | lab(30.56, 19.00, -45.69) |
| CIE-LCH | lch(30.56, 49.48, 292.58°) |
| OKLab | oklab(40.85% -0.0031 -0.1313) |
| OKLCH | oklch(40.85% 0.131 268.6) |
| XYZ | xyz(8.0627, 6.4672, 27.2035) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.71
Blueberry
#464196
ΔE00 4.82
Cobalt
#0047AB
ΔE00 4.85
Darkish Blue
#014182
ΔE00 5.37
Sapphire (survey)
#2138AB
ΔE00 5.48
Darkslateblue
#483D8B
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4290 #907B2D
analogous
#2D7490 #2D4290 #4A2D90
triadic
#2D4290 #902D42 #42902D
tetradic
#2D4290 #902D74 #907B2D #2D904A
square
#2D4290 #902D74 #907B2D #2D904A
split-complementary
#2D4290 #904A2D #74902D
monochromatic
#101733 #1E2D61 #2D4290 #3C57BF #687ED0
Accessibility & contrast
On white
9.16
#2D4290 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2D4290 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4290
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4290 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4290 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D4D93
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2d4290; /* rgb */ color: rgb(45, 66, 144); /* oklch */ color: oklch(40.8% 0.131 268.6);
Tailwind
colors: {
custom: {
50: '#7276b1',
500: '#2d4290',
950: '#000000',
},
}SCSS
$custom: #2d4290; $custom-light: #7276b1; $custom-dark: #000000;
JSON
{
"hex": "#2d4290",
"rgb": {
"r": 45,
"g": 66,
"b": 144
},
"hsl": {
"h": 227.273,
"s": 52.381,
"l": 37.059
},
"oklch": {
"l": 0.40845,
"c": 0.13131,
"h": 268.6
},
"luminance": 0.06468
}Semantic roles & 50–950 ramp
primary
#2D4290
secondary
#B6A562
accent
#BD4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80