#2C459E#2C459E
#2C459E is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.148 H 267.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2C459E |
|---|---|
| RGB | rgb(44, 69, 158) |
| HSL | hsl(227, 56%, 40%) |
| HSV | hsv(227, 72%, 62%) |
| CMYK | cmyk(72.2%, 56.3%, 0%, 38%) |
| CIE-LAB | lab(32.39, 22.12, -51.25) |
| CIE-LCH | lch(32.39, 55.82, 293.35°) |
| OKLab | oklab(42.54% -0.0058 -0.1476) |
| OKLCH | oklch(42.54% 0.148 267.7) |
| XYZ | xyz(9.3362, 7.2594, 33.2503) |
| Luminance | 0.0726 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.27
Cobalt (survey)
#1E488F
ΔE00 3.87
Sapphire (survey)
#2138AB
ΔE00 4.70
Blueberry
#464196
ΔE00 5.08
Blue Blue
#2242C7
ΔE00 5.81
Sapphire
#0F52BA
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C459E #9E852C
analogous
#2C7E9E #2C459E #4C2C9E
triadic
#2C459E #9E2C45 #459E2C
tetradic
#2C459E #9E2C7E #9E852C #2C9E4C
square
#2C459E #9E2C7E #9E852C #2C9E4C
split-complementary
#2C459E #9E4C2C #7E9E2C
monochromatic
#111B3E #1F306E #2C459E #3E5DC9 #6E85D7
Accessibility & contrast
On white
8.56
#2C459E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2C459E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C459E
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C459E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C459E | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2c459e; /* rgb */ color: rgb(44, 69, 158); /* oklch */ color: oklch(42.5% 0.148 267.7);
Tailwind
colors: {
custom: {
50: '#7578bb',
500: '#2c459e',
950: '#000000',
},
}SCSS
$custom: #2c459e; $custom-light: #7578bb; $custom-dark: #000000;
JSON
{
"hex": "#2c459e",
"rgb": {
"r": 44,
"g": 69,
"b": 158
},
"hsl": {
"h": 226.842,
"s": 56.436,
"l": 39.608
},
"oklch": {
"l": 0.42541,
"c": 0.14772,
"h": 267.7
},
"luminance": 0.0726
}Semantic roles & 50–950 ramp
primary
#2C459E
secondary
#BEAB68
accent
#BE48E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81