#2D459F#2D459F
#2D459F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.7% C 0.149 H 268.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2D459F |
|---|---|
| RGB | rgb(45, 69, 159) |
| HSL | hsl(227, 56%, 40%) |
| HSV | hsv(227, 72%, 62%) |
| CMYK | cmyk(71.7%, 56.6%, 0%, 37.6%) |
| CIE-LAB | lab(32.52, 22.64, -51.65) |
| CIE-LCH | lch(32.52, 56.39, 293.67°) |
| OKLab | oklab(42.67% -0.0048 -0.1488) |
| OKLCH | oklch(42.67% 0.149 268.1) |
| XYZ | xyz(9.4662, 7.3164, 33.7075) |
| Luminance | 0.0732 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.35
Cobalt (survey)
#1E488F
ΔE00 4.08
Sapphire (survey)
#2138AB
ΔE00 4.58
Blueberry
#464196
ΔE00 4.96
Blue Blue
#2242C7
ΔE00 5.64
Sapphire
#0F52BA
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D459F #9F872D
analogous
#2D7E9F #2D459F #4E2D9F
triadic
#2D459F #9F2D45 #459F2D
tetradic
#2D459F #9F2D7E #9F872D #2D9F4E
square
#2D459F #9F2D7E #9F872D #2D9F4E
split-complementary
#2D459F #9F4E2D #7E9F2D
monochromatic
#121C40 #20306F #2D459F #405DC9 #7086D6
Accessibility & contrast
On white
8.52
#2D459F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2D459F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D459F
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D459F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D459F | 1.00 | 8.52 | 2.46 | 8.52 |
| #FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.52 | 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: #2d459f; /* rgb */ color: rgb(45, 69, 159); /* oklch */ color: oklch(42.7% 0.149 268.1);
Tailwind
colors: {
custom: {
50: '#7578bc',
500: '#2d459f',
950: '#000000',
},
}SCSS
$custom: #2d459f; $custom-light: #7578bc; $custom-dark: #000000;
JSON
{
"hex": "#2d459f",
"rgb": {
"r": 45,
"g": 69,
"b": 159
},
"hsl": {
"h": 227.368,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.42673,
"c": 0.14884,
"h": 268.1
},
"luminance": 0.07317
}Semantic roles & 50–950 ramp
primary
#2D459F
secondary
#BEAC6A
accent
#BF49DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81