#2C459D#2C459D
#2C459D is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.146 H 267.7°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2C459D |
|---|---|
| RGB | rgb(44, 69, 157) |
| HSL | hsl(227, 56%, 39%) |
| HSV | hsv(227, 72%, 62%) |
| CMYK | cmyk(72%, 56.1%, 0%, 38.4%) |
| CIE-LAB | lab(32.31, 21.74, -50.77) |
| CIE-LCH | lch(32.31, 55.23, 293.18°) |
| OKLab | oklab(42.46% -0.0059 -0.1462) |
| OKLCH | oklch(42.46% 0.146 267.7) |
| XYZ | xyz(9.2505, 7.2251, 32.7988) |
| Luminance | 0.0723 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.31
Cobalt (survey)
#1E488F
ΔE00 3.76
Sapphire (survey)
#2138AB
ΔE00 4.79
Blueberry
#464196
ΔE00 5.09
Blue Blue
#2242C7
ΔE00 5.95
Sapphire
#0F52BA
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C459D #9D842C
analogous
#2C7E9D #2C459D #4C2C9D
triadic
#2C459D #9D2C45 #459D2C
tetradic
#2C459D #9D2C7E #9D842C #2C9D4C
square
#2C459D #9D2C7E #9D842C #2C9D4C
split-complementary
#2C459D #9D4C2C #7E9D2C
monochromatic
#111B3D #1F306D #2C459D #3D5CC9 #6D84D6
Accessibility & contrast
On white
8.59
#2C459D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2C459D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C459D
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C459D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C459D | 1.00 | 8.59 | 2.45 | 8.59 |
| #FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2c459d; /* rgb */ color: rgb(44, 69, 157); /* oklch */ color: oklch(42.5% 0.146 267.7);
Tailwind
colors: {
custom: {
50: '#7478bb',
500: '#2c459d',
950: '#000000',
},
}SCSS
$custom: #2c459d; $custom-light: #7478bb; $custom-dark: #000000;
JSON
{
"hex": "#2c459d",
"rgb": {
"r": 44,
"g": 69,
"b": 157
},
"hsl": {
"h": 226.726,
"s": 56.219,
"l": 39.412
},
"oklch": {
"l": 0.42459,
"c": 0.14632,
"h": 267.7
},
"luminance": 0.07226
}Semantic roles & 50–950 ramp
primary
#2C459D
secondary
#BDAA68
accent
#BE48E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81