#2C4A86#2C4A86
#2C4A86 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.8% C 0.106 H 262.7°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4A86 |
|---|---|
| RGB | rgb(44, 74, 134) |
| HSL | hsl(220, 51%, 35%) |
| HSV | hsv(220, 67%, 53%) |
| CMYK | cmyk(67.2%, 44.8%, 0%, 47.5%) |
| CIE-LAB | lab(32.15, 9.62, -36.98) |
| CIE-LCH | lch(32.15, 38.21, 284.58°) |
| OKLab | oklab(41.83% -0.0136 -0.1055) |
| OKLCH | oklch(41.83% 0.106 262.7) |
| XYZ | xyz(7.7891, 7.1535, 23.5199) |
| Luminance | 0.0715 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.98
Dusk Blue
#26538D
ΔE00 3.85
Darkish Blue
#014182
ΔE00 4.15
Twilight Blue
#0A437A
ΔE00 4.33
Light Navy
#155084
ΔE00 5.05
Cobalt
#0047AB
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4A86 #86682C
analogous
#2C7786 #2C4A86 #3B2C86
triadic
#2C4A86 #862C4A #4A862C
tetradic
#2C4A86 #862C77 #86682C #2C863B
square
#2C4A86 #862C77 #86682C #2C863B
split-complementary
#2C4A86 #863B2C #77862C
monochromatic
#0E172A #1D3158 #2C4A86 #3B63B4 #6185CB
Accessibility & contrast
On white
8.64
#2C4A86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#2C4A86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4A86
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4A86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4A86 | 1.00 | 8.64 | 2.43 | 8.64 |
| #FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E5088
Deuteranopia (green-blind)
#1F4885
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2c4a86; /* rgb */ color: rgb(44, 74, 134); /* oklch */ color: oklch(41.8% 0.106 262.7);
Tailwind
colors: {
custom: {
50: '#6f7ca9',
500: '#2c4a86',
950: '#000000',
},
}SCSS
$custom: #2c4a86; $custom-light: #6f7ca9; $custom-dark: #000000;
JSON
{
"hex": "#2c4a86",
"rgb": {
"r": 44,
"g": 74,
"b": 134
},
"hsl": {
"h": 220,
"s": 50.562,
"l": 34.902
},
"oklch": {
"l": 0.41828,
"c": 0.10642,
"h": 262.7
},
"luminance": 0.07154
}Semantic roles & 50–950 ramp
primary
#2C4A86
secondary
#B1955C
accent
#AB4EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F