#2C459F#2C459F
#2C459F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.149 H 267.8°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2C459F |
|---|---|
| RGB | rgb(44, 69, 159) |
| HSL | hsl(227, 57%, 40%) |
| HSV | hsv(227, 72%, 62%) |
| CMYK | cmyk(72.3%, 56.6%, 0%, 37.6%) |
| CIE-LAB | lab(32.47, 22.50, -51.73) |
| CIE-LCH | lch(32.47, 56.41, 293.51°) |
| OKLab | oklab(42.62% -0.0058 -0.149) |
| OKLCH | oklch(42.62% 0.149 267.8) |
| XYZ | xyz(9.4227, 7.2940, 33.7055) |
| Luminance | 0.0730 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.23
Cobalt (survey)
#1E488F
ΔE00 3.98
Sapphire (survey)
#2138AB
ΔE00 4.61
Blueberry
#464196
ΔE00 5.08
Blue Blue
#2242C7
ΔE00 5.66
Sapphire
#0F52BA
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C459F #9F862C
analogous
#2C7E9F #2C459F #4D2C9F
triadic
#2C459F #9F2C45 #459F2C
tetradic
#2C459F #9F2C7E #9F862C #2C9F4D
square
#2C459F #9F2C7E #9F862C #2C9F4D
split-complementary
#2C459F #9F4D2C #7E9F2C
monochromatic
#111B3F #1F306F #2C459F #3E5DCA #6E85D7
Accessibility & contrast
On white
8.54
#2C459F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2C459F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C459F
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C459F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C459F | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2c459f; /* rgb */ color: rgb(44, 69, 159); /* oklch */ color: oklch(42.6% 0.149 267.8);
Tailwind
colors: {
custom: {
50: '#7578bc',
500: '#2c459f',
950: '#000000',
},
}SCSS
$custom: #2c459f; $custom-light: #7578bc; $custom-dark: #000000;
JSON
{
"hex": "#2c459f",
"rgb": {
"r": 44,
"g": 69,
"b": 159
},
"hsl": {
"h": 226.957,
"s": 56.65,
"l": 39.804
},
"oklch": {
"l": 0.42623,
"c": 0.14913,
"h": 267.8
},
"luminance": 0.07295
}Semantic roles & 50–950 ramp
primary
#2C459F
secondary
#BEAC69
accent
#BF48E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81