#2D4594#2D4594
#2D4594 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.133 H 267.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4594 |
|---|---|
| RGB | rgb(45, 69, 148) |
| HSL | hsl(226, 53%, 38%) |
| HSV | hsv(226, 70%, 58%) |
| CMYK | cmyk(69.6%, 53.4%, 0%, 42%) |
| CIE-LAB | lab(31.70, 18.48, -46.30) |
| CIE-LCH | lch(31.70, 49.85, 291.76°) |
| OKLab | oklab(41.8% -0.0056 -0.133) |
| OKLCH | oklch(41.8% 0.133 267.6) |
| XYZ | xyz(8.5538, 6.9514, 28.9022) |
| Luminance | 0.0695 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.06
Cobalt
#0047AB
ΔE00 4.06
Blueberry
#464196
ΔE00 5.22
Darkish Blue
#014182
ΔE00 5.30
Sapphire (survey)
#2138AB
ΔE00 5.73
Dusk Blue
#26538D
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4594 #947C2D
analogous
#2D7994 #2D4594 #482D94
triadic
#2D4594 #942D45 #45942D
tetradic
#2D4594 #942D79 #947C2D #2D9448
square
#2D4594 #942D79 #947C2D #2D9448
split-complementary
#2D4594 #94482D #79942D
monochromatic
#101936 #1F2F65 #2D4594 #3B5BC3 #6A82D2
Accessibility & contrast
On white
8.79
#2D4594 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#2D4594 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4594
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4594 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4594 | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#124F97
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2d4594; /* rgb */ color: rgb(45, 69, 148); /* oklch */ color: oklch(41.8% 0.133 267.6);
Tailwind
colors: {
custom: {
50: '#7378b4',
500: '#2d4594',
950: '#000000',
},
}SCSS
$custom: #2d4594; $custom-light: #7378b4; $custom-dark: #000000;
JSON
{
"hex": "#2d4594",
"rgb": {
"r": 45,
"g": 69,
"b": 148
},
"hsl": {
"h": 226.019,
"s": 53.368,
"l": 37.843
},
"oklch": {
"l": 0.41795,
"c": 0.13315,
"h": 267.6
},
"luminance": 0.06952
}Semantic roles & 50–950 ramp
primary
#2D4594
secondary
#B8A564
accent
#BB4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80