#2C4497#2C4497
#2C4497 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.139 H 267.8°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4497 |
|---|---|
| RGB | rgb(44, 68, 151) |
| HSL | hsl(227, 55%, 38%) |
| HSV | hsv(227, 71%, 59%) |
| CMYK | cmyk(70.9%, 55%, 0%, 40.8%) |
| CIE-LAB | lab(31.59, 20.14, -48.31) |
| CIE-LCH | lch(31.59, 52.34, 292.63°) |
| OKLab | oklab(41.77% -0.0054 -0.139) |
| OKLCH | oklch(41.77% 0.139 267.8) |
| XYZ | xyz(8.6898, 6.9032, 30.1466) |
| Luminance | 0.0690 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.44
Cobalt
#0047AB
ΔE00 3.84
Blueberry
#464196
ΔE00 5.01
Sapphire (survey)
#2138AB
ΔE00 5.13
Darkish Blue
#014182
ΔE00 5.57
Twilight Blue
#0A437A
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4497 #977F2C
analogous
#2C7997 #2C4497 #492C97
triadic
#2C4497 #972C44 #44972C
tetradic
#2C4497 #972C79 #977F2C #2C9749
square
#2C4497 #972C79 #977F2C #2C9749
split-complementary
#2C4497 #97492C #79972C
monochromatic
#101938 #1E2F68 #2C4497 #3A5AC6 #6A82D4
Accessibility & contrast
On white
8.82
#2C4497 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2C4497 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4497
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4497 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4497 | 1.00 | 8.82 | 2.38 | 8.82 |
| #FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#044F9A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2c4497; /* rgb */ color: rgb(44, 68, 151); /* oklch */ color: oklch(41.8% 0.139 267.8);
Tailwind
colors: {
custom: {
50: '#7377b6',
500: '#2c4497',
950: '#000000',
},
}SCSS
$custom: #2c4497; $custom-light: #7377b6; $custom-dark: #000000;
JSON
{
"hex": "#2c4497",
"rgb": {
"r": 44,
"g": 68,
"b": 151
},
"hsl": {
"h": 226.542,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.41768,
"c": 0.13909,
"h": 267.8
},
"luminance": 0.06904
}Semantic roles & 50–950 ramp
primary
#2C4497
secondary
#BAA765
accent
#BD4ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80