#2C4B87#2C4B87
#2C4B87 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.1% C 0.107 H 262.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4B87 |
|---|---|
| RGB | rgb(44, 75, 135) |
| HSL | hsl(220, 51%, 35%) |
| HSV | hsv(220, 67%, 53%) |
| CMYK | cmyk(67.4%, 44.4%, 0%, 47.1%) |
| CIE-LAB | lab(32.52, 9.33, -37.02) |
| CIE-LCH | lch(32.52, 38.17, 284.14°) |
| OKLab | oklab(42.13% -0.0144 -0.1056) |
| OKLCH | oklch(42.13% 0.107 262.2) |
| XYZ | xyz(7.9264, 7.3161, 23.9114) |
| Luminance | 0.0732 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.95
Dusk Blue
#26538D
ΔE00 3.49
Darkish Blue
#014182
ΔE00 4.27
Twilight Blue
#0A437A
ΔE00 4.40
Light Navy
#155084
ΔE00 4.79
Cobalt
#0047AB
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4B87 #87682C
analogous
#2C7987 #2C4B87 #3A2C87
triadic
#2C4B87 #872C4B #4B872C
tetradic
#2C4B87 #872C79 #87682C #2C873A
square
#2C4B87 #872C79 #87682C #2C873A
split-complementary
#2C4B87 #873A2C #79872C
monochromatic
#0E182B #1D3159 #2C4B87 #3B65B5 #6286CC
Accessibility & contrast
On white
8.52
#2C4B87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2C4B87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4B87
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4B87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4B87 | 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)
#2F5189
Deuteranopia (green-blind)
#204986
Tritanopia (blue-blind)
#005962
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2c4b87; /* rgb */ color: rgb(44, 75, 135); /* oklch */ color: oklch(42.1% 0.107 262.2);
Tailwind
colors: {
custom: {
50: '#6f7caa',
500: '#2c4b87',
950: '#000000',
},
}SCSS
$custom: #2c4b87; $custom-light: #6f7caa; $custom-dark: #000000;
JSON
{
"hex": "#2c4b87",
"rgb": {
"r": 44,
"g": 75,
"b": 135
},
"hsl": {
"h": 219.56,
"s": 50.838,
"l": 35.098
},
"oklch": {
"l": 0.42127,
"c": 0.10663,
"h": 262.2
},
"luminance": 0.07317
}Semantic roles & 50–950 ramp
primary
#2C4B87
secondary
#B2955D
accent
#AA4DDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F