#2C4F8F#2C4F8F
#2C4F8F is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.6% C 0.113 H 261.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4F8F |
|---|---|
| RGB | rgb(44, 79, 143) |
| HSL | hsl(219, 53%, 37%) |
| HSV | hsv(219, 69%, 56%) |
| CMYK | cmyk(69.2%, 44.8%, 0%, 43.9%) |
| CIE-LAB | lab(34.21, 9.69, -39.21) |
| CIE-LCH | lch(34.21, 40.39, 283.89°) |
| OKLab | oklab(43.6% -0.017 -0.112) |
| OKLCH | oklch(43.6% 0.113 261.4) |
| XYZ | xyz(8.7909, 8.1097, 27.0833) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.30
Cobalt (survey)
#1E488F
ΔE00 2.37
Denim Blue
#3B5B92
ΔE00 4.02
Light Navy
#155084
ΔE00 4.29
Light Navy Blue
#2E5A88
ΔE00 4.66
Cobalt
#0047AB
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4F8F #8F6C2C
analogous
#2C818F #2C4F8F #3B2C8F
triadic
#2C4F8F #8F2C4F #4F8F2C
tetradic
#2C4F8F #8F2C81 #8F6C2C #2C8F3B
square
#2C4F8F #8F2C81 #8F6C2C #2C8F3B
split-complementary
#2C4F8F #8F3B2C #818F2C
monochromatic
#0F1B31 #1E3560 #2C4F8F #3A69BE #668BD0
Accessibility & contrast
On white
8.01
#2C4F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#2C4F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4F8F
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4F8F | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#305591
Deuteranopia (green-blind)
#1F4C8E
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2c4f8f; /* rgb */ color: rgb(44, 79, 143); /* oklch */ color: oklch(43.6% 0.113 261.4);
Tailwind
colors: {
custom: {
50: '#717fb0',
500: '#2c4f8f',
950: '#000000',
},
}SCSS
$custom: #2c4f8f; $custom-light: #717fb0; $custom-dark: #000000;
JSON
{
"hex": "#2c4f8f",
"rgb": {
"r": 44,
"g": 79,
"b": 143
},
"hsl": {
"h": 218.788,
"s": 52.941,
"l": 36.667
},
"oklch": {
"l": 0.43595,
"c": 0.11331,
"h": 261.4
},
"luminance": 0.08111
}Semantic roles & 50–950 ramp
primary
#2C4F8F
secondary
#B69861
accent
#A94BDC
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F