#2C4887#2C4887
#2C4887 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.4% C 0.110 H 264.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4887 |
|---|---|
| RGB | rgb(44, 72, 135) |
| HSL | hsl(222, 51%, 35%) |
| HSV | hsv(222, 67%, 53%) |
| CMYK | cmyk(67.4%, 46.7%, 0%, 47.1%) |
| CIE-LAB | lab(31.62, 11.34, -38.45) |
| CIE-LCH | lch(31.62, 40.09, 286.44°) |
| OKLab | oklab(41.44% -0.0113 -0.1099) |
| OKLCH | oklch(41.44% 0.11 264.1) |
| XYZ | xyz(7.7277, 6.9187, 23.8452) |
| Luminance | 0.0692 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.03
Darkish Blue
#014182
ΔE00 4.11
Twilight Blue
#0A437A
ΔE00 4.51
Dusk Blue
#26538D
ΔE00 4.58
Cobalt
#0047AB
ΔE00 5.22
Light Navy
#155084
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4887 #876B2C
analogous
#2C7687 #2C4887 #3D2C87
triadic
#2C4887 #872C48 #48872C
tetradic
#2C4887 #872C76 #876B2C #2C873D
square
#2C4887 #872C76 #876B2C #2C873D
split-complementary
#2C4887 #873D2C #76872C
monochromatic
#0E172B #1D2F59 #2C4887 #3B61B5 #6282CC
Accessibility & contrast
On white
8.81
#2C4887 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2C4887 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4887
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4887 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4887 | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294F89
Deuteranopia (green-blind)
#194686
Tritanopia (blue-blind)
#005661
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2c4887; /* rgb */ color: rgb(44, 72, 135); /* oklch */ color: oklch(41.4% 0.110 264.1);
Tailwind
colors: {
custom: {
50: '#6f7aaa',
500: '#2c4887',
950: '#000000',
},
}SCSS
$custom: #2c4887; $custom-light: #6f7aaa; $custom-dark: #000000;
JSON
{
"hex": "#2c4887",
"rgb": {
"r": 44,
"g": 72,
"b": 135
},
"hsl": {
"h": 221.538,
"s": 50.838,
"l": 35.098
},
"oklch": {
"l": 0.41439,
"c": 0.11048,
"h": 264.1
},
"luminance": 0.06919
}Semantic roles & 50–950 ramp
primary
#2C4887
secondary
#B2985D
accent
#AF4DDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F