#2C4C8E#2C4C8E
#2C4C8E is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.8% C 0.116 H 263.0°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4C8E |
|---|---|
| RGB | rgb(44, 76, 142) |
| HSL | hsl(220, 53%, 36%) |
| HSV | hsv(220, 69%, 56%) |
| CMYK | cmyk(69%, 46.5%, 0%, 44.3%) |
| CIE-LAB | lab(33.26, 11.32, -40.13) |
| CIE-LCH | lch(33.26, 41.69, 285.75°) |
| OKLab | oklab(42.84% -0.0141 -0.1148) |
| OKLCH | oklch(42.84% 0.116 263) |
| XYZ | xyz(8.5039, 7.6565, 26.6156) |
| Luminance | 0.0766 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.77
Dusk Blue
#26538D
ΔE00 3.31
Cobalt
#0047AB
ΔE00 4.51
Darkish Blue
#014182
ΔE00 4.68
Denim Blue
#3B5B92
ΔE00 4.94
Light Navy
#155084
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4C8E #8E6E2C
analogous
#2C7D8E #2C4C8E #3D2C8E
triadic
#2C4C8E #8E2C4C #4C8E2C
tetradic
#2C4C8E #8E2C7D #8E6E2C #2C8E3D
square
#2C4C8E #8E2C7D #8E6E2C #2C8E3D
split-complementary
#2C4C8E #8E3D2C #7D8E2C
monochromatic
#0F1A31 #1E335F #2C4C8E #3A65BD #6588CF
Accessibility & contrast
On white
8.30
#2C4C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2C4C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4C8E
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4C8E | 1.00 | 8.30 | 2.53 | 8.30 |
| #FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5390
Deuteranopia (green-blind)
#194A8D
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2c4c8e; /* rgb */ color: rgb(44, 76, 142); /* oklch */ color: oklch(42.8% 0.116 263.0);
Tailwind
colors: {
custom: {
50: '#717daf',
500: '#2c4c8e',
950: '#000000',
},
}SCSS
$custom: #2c4c8e; $custom-light: #717daf; $custom-dark: #000000;
JSON
{
"hex": "#2c4c8e",
"rgb": {
"r": 44,
"g": 76,
"b": 142
},
"hsl": {
"h": 220.408,
"s": 52.688,
"l": 36.471
},
"oklch": {
"l": 0.42841,
"c": 0.11564,
"h": 263
},
"luminance": 0.07657
}Semantic roles & 50–950 ramp
primary
#2C4C8E
secondary
#B69A60
accent
#AD4CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F