#2C4C97#2C4C97
#2C4C97 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.5% C 0.129 H 264.3°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4C97 |
|---|---|
| RGB | rgb(44, 76, 151) |
| HSL | hsl(222, 55%, 38%) |
| HSV | hsv(222, 71%, 59%) |
| CMYK | cmyk(70.9%, 49.7%, 0%, 40.8%) |
| CIE-LAB | lab(33.85, 14.75, -44.65) |
| CIE-LCH | lch(33.85, 47.02, 288.28°) |
| OKLab | oklab(43.49% -0.0127 -0.1281) |
| OKLCH | oklch(43.49% 0.129 264.3) |
| XYZ | xyz(9.2071, 7.9378, 30.3191) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.19
Cobalt
#0047AB
ΔE00 3.57
Dusk Blue
#26538D
ΔE00 3.87
Sapphire
#0F52BA
ΔE00 4.96
Denim Blue
#3B5B92
ΔE00 5.10
Darkish Blue
#014182
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4C97 #97772C
analogous
#2C8197 #2C4C97 #412C97
triadic
#2C4C97 #972C4C #4C972C
tetradic
#2C4C97 #972C81 #97772C #2C9741
square
#2C4C97 #972C81 #97772C #2C9741
split-complementary
#2C4C97 #97412C #81972C
monochromatic
#101C38 #1E3468 #2C4C97 #3A64C6 #6A89D4
Accessibility & contrast
On white
8.12
#2C4C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2C4C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4C97
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4C97 | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23559A
Deuteranopia (green-blind)
#034B95
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2c4c97; /* rgb */ color: rgb(44, 76, 151); /* oklch */ color: oklch(43.5% 0.129 264.3);
Tailwind
colors: {
custom: {
50: '#737db6',
500: '#2c4c97',
950: '#000000',
},
}SCSS
$custom: #2c4c97; $custom-light: #737db6; $custom-dark: #000000;
JSON
{
"hex": "#2c4c97",
"rgb": {
"r": 44,
"g": 76,
"b": 151
},
"hsl": {
"h": 222.056,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.43489,
"c": 0.1287,
"h": 264.3
},
"luminance": 0.07939
}Semantic roles & 50–950 ramp
primary
#2C4C97
secondary
#BAA165
accent
#B24ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80