#2D4C99#2D4C99
#2D4C99 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.7% C 0.131 H 264.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4C99 |
|---|---|
| RGB | rgb(45, 76, 153) |
| HSL | hsl(223, 55%, 39%) |
| HSV | hsv(223, 71%, 60%) |
| CMYK | cmyk(70.6%, 50.3%, 0%, 40%) |
| CIE-LAB | lab(34.04, 15.67, -45.56) |
| CIE-LCH | lch(34.04, 48.18, 288.98°) |
| OKLab | oklab(43.69% -0.0116 -0.1307) |
| OKLCH | oklch(43.69% 0.131 264.9) |
| XYZ | xyz(9.4144, 8.0257, 31.1838) |
| Luminance | 0.0803 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.48
Cobalt
#0047AB
ΔE00 3.46
Dusk Blue
#26538D
ΔE00 4.13
Sapphire
#0F52BA
ΔE00 4.82
Denim Blue
#3B5B92
ΔE00 5.18
Darkish Blue
#014182
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4C99 #997A2D
analogous
#2D8299 #2D4C99 #442D99
triadic
#2D4C99 #992D4C #4C992D
tetradic
#2D4C99 #992D82 #997A2D #2D9944
square
#2D4C99 #992D82 #997A2D #2D9944
split-complementary
#2D4C99 #99442D #82992D
monochromatic
#111D3A #1F356A #2D4C99 #3D64C6 #6C8AD4
Accessibility & contrast
On white
8.06
#2D4C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2D4C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4C99
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4C99 | 1.00 | 8.06 | 2.61 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20559C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2d4c99; /* rgb */ color: rgb(45, 76, 153); /* oklch */ color: oklch(43.7% 0.131 264.9);
Tailwind
colors: {
custom: {
50: '#737db8',
500: '#2d4c99',
950: '#000000',
},
}SCSS
$custom: #2d4c99; $custom-light: #737db8; $custom-dark: #000000;
JSON
{
"hex": "#2d4c99",
"rgb": {
"r": 45,
"g": 76,
"b": 153
},
"hsl": {
"h": 222.778,
"s": 54.545,
"l": 38.824
},
"oklch": {
"l": 0.43685,
"c": 0.13125,
"h": 264.9
},
"luminance": 0.08027
}Semantic roles & 50–950 ramp
primary
#2D4C99
secondary
#BBA367
accent
#B34ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80