#2C4D98#2C4D98
#2C4D98 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.129 H 264.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4D98 |
|---|---|
| RGB | rgb(44, 77, 152) |
| HSL | hsl(222, 55%, 38%) |
| HSV | hsv(222, 71%, 60%) |
| CMYK | cmyk(71.1%, 49.3%, 0%, 40.4%) |
| CIE-LAB | lab(34.21, 14.46, -44.68) |
| CIE-LCH | lch(34.21, 46.96, 287.93°) |
| OKLab | oklab(43.78% -0.0135 -0.1281) |
| OKLCH | oklch(43.78% 0.129 264) |
| XYZ | xyz(9.3581, 8.1093, 30.7717) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.34
Cobalt
#0047AB
ΔE00 3.60
Dusk Blue
#26538D
ΔE00 3.63
Sapphire
#0F52BA
ΔE00 4.71
Denim Blue
#3B5B92
ΔE00 4.81
Darkish Blue
#014182
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4D98 #98772C
analogous
#2C8398 #2C4D98 #412C98
triadic
#2C4D98 #982C4D #4D982C
tetradic
#2C4D98 #982C83 #98772C #2C9841
square
#2C4D98 #982C83 #98772C #2C9841
split-complementary
#2C4D98 #98412C #83982C
monochromatic
#111D39 #1E3569 #2C4D98 #3B66C6 #6A8BD4
Accessibility & contrast
On white
8.01
#2C4D98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#2C4D98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4D98
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4D98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4D98 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24569B
Deuteranopia (green-blind)
#054C96
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2c4d98; /* rgb */ color: rgb(44, 77, 152); /* oklch */ color: oklch(43.8% 0.129 264.0);
Tailwind
colors: {
custom: {
50: '#737eb7',
500: '#2c4d98',
950: '#000000',
},
}SCSS
$custom: #2c4d98; $custom-light: #737eb7; $custom-dark: #000000;
JSON
{
"hex": "#2c4d98",
"rgb": {
"r": 44,
"g": 77,
"b": 152
},
"hsl": {
"h": 221.667,
"s": 55.102,
"l": 38.431
},
"oklch": {
"l": 0.43783,
"c": 0.12886,
"h": 264
},
"luminance": 0.0811
}Semantic roles & 50–950 ramp
primary
#2C4D98
secondary
#BBA165
accent
#B149DE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80