#2C4D7D#2C4D7D
#2C4D7D is a dark, moderate blue. Relative luminance 0.073; OKLCH L 41.9% C 0.089 H 257.8°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4D7D |
|---|---|
| RGB | rgb(44, 77, 125) |
| HSL | hsl(216, 48%, 33%) |
| HSV | hsv(216, 65%, 49%) |
| CMYK | cmyk(64.8%, 38.4%, 0%, 51%) |
| CIE-LAB | lab(32.53, 4.25, -30.81) |
| CIE-LCH | lch(32.53, 31.10, 277.85°) |
| OKLab | oklab(41.95% -0.019 -0.0874) |
| OKLCH | oklch(41.95% 0.089 257.8) |
| XYZ | xyz(7.3929, 7.3232, 20.4220) |
| Luminance | 0.0732 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 3.00
Cobalt (survey)
#1E488F
ΔE00 3.19
Light Navy
#155084
ΔE00 3.65
Twilight Blue
#0A437A
ΔE00 4.03
Darkish Blue
#014182
ΔE00 4.53
Prussian Blue
#004577
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4D7D #7D5C2C
analogous
#2C757D #2C4D7D #342C7D
triadic
#2C4D7D #7D2C4D #4D7D2C
tetradic
#2C4D7D #7D2C75 #7D5C2C #2C7D34
square
#2C4D7D #7D2C75 #7D5C2C #2C7D34
split-complementary
#2C4D7D #7D342C #757D2C
monochromatic
#0C1522 #1C3150 #2C4D7D #3C69AA #5D88C6
Accessibility & contrast
On white
8.52
#2C4D7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2C4D7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4D7D
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4D7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4D7D | 1.00 | 8.52 | 2.46 | 8.52 |
| #FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38517F
Deuteranopia (green-blind)
#2D497C
Tritanopia (blue-blind)
#00585F
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2c4d7d; /* rgb */ color: rgb(44, 77, 125); /* oklch */ color: oklch(41.9% 0.089 257.8);
Tailwind
colors: {
custom: {
50: '#6d7ea3',
500: '#2c4d7d',
950: '#000000',
},
}SCSS
$custom: #2c4d7d; $custom-light: #6d7ea3; $custom-dark: #000000;
JSON
{
"hex": "#2c4d7d",
"rgb": {
"r": 44,
"g": 77,
"b": 125
},
"hsl": {
"h": 215.556,
"s": 47.929,
"l": 33.137
},
"oklch": {
"l": 0.41946,
"c": 0.08945,
"h": 257.8
},
"luminance": 0.07324
}Semantic roles & 50–950 ramp
primary
#2C4D7D
secondary
#AC8A59
accent
#A050D8
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#08090F
muted
#7B7B7F