#2D4396#2D4396
#2D4396 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.5% C 0.139 H 268.5°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4396 |
|---|---|
| RGB | rgb(45, 67, 150) |
| HSL | hsl(227, 54%, 38%) |
| HSV | hsv(227, 70%, 59%) |
| CMYK | cmyk(70%, 55.3%, 0%, 41.2%) |
| CIE-LAB | lab(31.29, 20.59, -48.18) |
| CIE-LCH | lch(31.29, 52.40, 293.14°) |
| OKLab | oklab(41.53% -0.0036 -0.1386) |
| OKLCH | oklch(41.53% 0.139 268.5) |
| XYZ | xyz(8.5925, 6.7734, 29.7028) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.76
Cobalt
#0047AB
ΔE00 4.18
Blueberry
#464196
ΔE00 4.71
Sapphire (survey)
#2138AB
ΔE00 4.95
Darkish Blue
#014182
ΔE00 5.73
Darkslateblue
#483D8B
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4396 #96802D
analogous
#2D7796 #2D4396 #4C2D96
triadic
#2D4396 #962D43 #43962D
tetradic
#2D4396 #962D77 #96802D #2D964C
square
#2D4396 #962D77 #96802D #2D964C
split-complementary
#2D4396 #964C2D #77962D
monochromatic
#111938 #1F2E67 #2D4396 #3C58C4 #6B81D3
Accessibility & contrast
On white
8.92
#2D4396 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2D4396 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4396
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4396 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4396 | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#024F99
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2d4396; /* rgb */ color: rgb(45, 67, 150); /* oklch */ color: oklch(41.5% 0.139 268.5);
Tailwind
colors: {
custom: {
50: '#7376b5',
500: '#2d4396',
950: '#000000',
},
}SCSS
$custom: #2d4396; $custom-light: #7376b5; $custom-dark: #000000;
JSON
{
"hex": "#2d4396",
"rgb": {
"r": 45,
"g": 67,
"b": 150
},
"hsl": {
"h": 227.429,
"s": 53.846,
"l": 38.235
},
"oklch": {
"l": 0.41532,
"c": 0.13865,
"h": 268.5
},
"luminance": 0.06774
}Semantic roles & 50–950 ramp
primary
#2D4396
secondary
#B9A865
accent
#BE4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80