#2D4397#2D4397
#2D4397 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.140 H 268.5°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4397 |
|---|---|
| RGB | rgb(45, 67, 151) |
| HSL | hsl(228, 54%, 38%) |
| HSV | hsv(228, 70%, 59%) |
| CMYK | cmyk(70.2%, 55.6%, 0%, 40.8%) |
| CIE-LAB | lab(31.36, 20.97, -48.67) |
| CIE-LCH | lch(31.36, 53.00, 293.30°) |
| OKLab | oklab(41.61% -0.0035 -0.14) |
| OKLCH | oklch(41.61% 0.14 268.5) |
| XYZ | xyz(8.6733, 6.8057, 30.1287) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.84
Cobalt
#0047AB
ΔE00 4.11
Blueberry
#464196
ΔE00 4.68
Sapphire (survey)
#2138AB
ΔE00 4.83
Darkish Blue
#014182
ΔE00 5.83
Darkslateblue
#483D8B
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4397 #97812D
analogous
#2D7897 #2D4397 #4C2D97
triadic
#2D4397 #972D43 #43972D
tetradic
#2D4397 #972D78 #97812D #2D974C
square
#2D4397 #972D78 #97812D #2D974C
split-complementary
#2D4397 #974C2D #78972D
monochromatic
#111939 #1F2E68 #2D4397 #3C59C5 #6B81D3
Accessibility & contrast
On white
8.89
#2D4397 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2D4397 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4397
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4397 | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2d4397; /* rgb */ color: rgb(45, 67, 151); /* oklch */ color: oklch(41.6% 0.140 268.5);
Tailwind
colors: {
custom: {
50: '#7476b6',
500: '#2d4397',
950: '#000000',
},
}SCSS
$custom: #2d4397; $custom-light: #7476b6; $custom-dark: #000000;
JSON
{
"hex": "#2d4397",
"rgb": {
"r": 45,
"g": 67,
"b": 151
},
"hsl": {
"h": 227.547,
"s": 54.082,
"l": 38.431
},
"oklch": {
"l": 0.41612,
"c": 0.14007,
"h": 268.5
},
"luminance": 0.06807
}Semantic roles & 50–950 ramp
primary
#2D4397
secondary
#BAA866
accent
#BF4ADD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80