#2C4498#2C4498
#2C4498 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.141 H 267.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4498 |
|---|---|
| RGB | rgb(44, 68, 152) |
| HSL | hsl(227, 55%, 38%) |
| HSV | hsv(227, 71%, 60%) |
| CMYK | cmyk(71.1%, 55.3%, 0%, 40.4%) |
| CIE-LAB | lab(31.66, 20.52, -48.80) |
| CIE-LCH | lch(31.66, 52.94, 292.81°) |
| OKLab | oklab(41.85% -0.0053 -0.1404) |
| OKLCH | oklch(41.85% 0.141 267.8) |
| XYZ | xyz(8.7714, 6.9358, 30.5762) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.52
Cobalt
#0047AB
ΔE00 3.77
Blueberry
#464196
ΔE00 4.98
Sapphire (survey)
#2138AB
ΔE00 5.01
Darkish Blue
#014182
ΔE00 5.67
Sapphire
#0F52BA
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4498 #98802C
analogous
#2C7A98 #2C4498 #4A2C98
triadic
#2C4498 #982C44 #44982C
tetradic
#2C4498 #982C7A #98802C #2C984A
square
#2C4498 #982C7A #98802C #2C984A
split-complementary
#2C4498 #984A2C #7A982C
monochromatic
#111A39 #1E2F69 #2C4498 #3B5AC6 #6A82D4
Accessibility & contrast
On white
8.80
#2C4498 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#2C4498 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4498
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4498 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4498 | 1.00 | 8.80 | 2.39 | 8.80 |
| #FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#01509B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2c4498; /* rgb */ color: rgb(44, 68, 152); /* oklch */ color: oklch(41.8% 0.141 267.8);
Tailwind
colors: {
custom: {
50: '#7377b7',
500: '#2c4498',
950: '#000000',
},
}SCSS
$custom: #2c4498; $custom-light: #7377b7; $custom-dark: #000000;
JSON
{
"hex": "#2c4498",
"rgb": {
"r": 44,
"g": 68,
"b": 152
},
"hsl": {
"h": 226.667,
"s": 55.102,
"l": 38.431
},
"oklch": {
"l": 0.41848,
"c": 0.14051,
"h": 267.8
},
"luminance": 0.06937
}Semantic roles & 50–950 ramp
primary
#2C4498
secondary
#BBA865
accent
#BD49DE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80