#2D489F#2D489F
#2D489F is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.3% C 0.145 H 267.1°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2D489F |
|---|---|
| RGB | rgb(45, 72, 159) |
| HSL | hsl(226, 56%, 40%) |
| HSV | hsv(226, 72%, 62%) |
| CMYK | cmyk(71.7%, 54.7%, 0%, 37.6%) |
| CIE-LAB | lab(33.34, 20.63, -50.31) |
| CIE-LCH | lch(33.34, 54.38, 292.30°) |
| OKLab | oklab(43.29% -0.0073 -0.1448) |
| OKLCH | oklch(43.29% 0.145 267.1) |
| XYZ | xyz(9.6554, 7.6948, 33.7706) |
| Luminance | 0.0770 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.99
Cobalt (survey)
#1E488F
ΔE00 3.49
Sapphire
#0F52BA
ΔE00 5.16
Sapphire (survey)
#2138AB
ΔE00 5.54
Blueberry
#464196
ΔE00 5.62
Dusk Blue
#26538D
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D489F #9F842D
analogous
#2D819F #2D489F #4B2D9F
triadic
#2D489F #9F2D48 #489F2D
tetradic
#2D489F #9F2D81 #9F842D #2D9F4B
square
#2D489F #9F2D81 #9F842D #2D9F4B
split-complementary
#2D489F #9F4B2D #819F2D
monochromatic
#121D40 #20326F #2D489F #4061C9 #7088D6
Accessibility & contrast
On white
8.27
#2D489F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2D489F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D489F
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D489F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D489F | 1.00 | 8.27 | 2.54 | 8.27 |
| #FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0454A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2d489f; /* rgb */ color: rgb(45, 72, 159); /* oklch */ color: oklch(43.3% 0.145 267.1);
Tailwind
colors: {
custom: {
50: '#757abc',
500: '#2d489f',
950: '#000000',
},
}SCSS
$custom: #2d489f; $custom-light: #757abc; $custom-dark: #000000;
JSON
{
"hex": "#2d489f",
"rgb": {
"r": 45,
"g": 72,
"b": 159
},
"hsl": {
"h": 225.789,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.43293,
"c": 0.14498,
"h": 267.1
},
"luminance": 0.07696
}Semantic roles & 50–950 ramp
primary
#2D489F
secondary
#BEAA6A
accent
#BC49DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81