#2D458F#2D458F
#2D458F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.126 H 267.2°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2D458F |
|---|---|
| RGB | rgb(45, 69, 143) |
| HSL | hsl(225, 52%, 37%) |
| HSV | hsv(225, 69%, 56%) |
| CMYK | cmyk(68.5%, 51.7%, 0%, 43.9%) |
| CIE-LAB | lab(31.34, 16.58, -43.82) |
| CIE-LCH | lch(31.34, 46.85, 290.73°) |
| OKLab | oklab(41.41% -0.0061 -0.1257) |
| OKLCH | oklch(41.41% 0.126 267.2) |
| XYZ | xyz(8.1665, 6.7965, 26.8628) |
| Luminance | 0.0680 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.79
Cobalt
#0047AB
ΔE00 4.55
Darkish Blue
#014182
ΔE00 4.89
Blueberry
#464196
ΔE00 5.53
Twilight Blue
#0A437A
ΔE00 5.69
Dusk Blue
#26538D
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D458F #8F772D
analogous
#2D768F #2D458F #462D8F
triadic
#2D458F #8F2D45 #458F2D
tetradic
#2D458F #8F2D76 #8F772D #2D8F46
square
#2D458F #8F2D76 #8F772D #2D8F46
split-complementary
#2D458F #8F462D #768F2D
monochromatic
#101832 #1E2F60 #2D458F #3C5BBE #6781CF
Accessibility & contrast
On white
8.90
#2D458F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2D458F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D458F
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D458F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D458F | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A4E92
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2d458f; /* rgb */ color: rgb(45, 69, 143); /* oklch */ color: oklch(41.4% 0.126 267.2);
Tailwind
colors: {
custom: {
50: '#7278b0',
500: '#2d458f',
950: '#000000',
},
}SCSS
$custom: #2d458f; $custom-light: #7278b0; $custom-dark: #000000;
JSON
{
"hex": "#2d458f",
"rgb": {
"r": 45,
"g": 69,
"b": 143
},
"hsl": {
"h": 225.306,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.41411,
"c": 0.12587,
"h": 267.2
},
"luminance": 0.06797
}Semantic roles & 50–950 ramp
primary
#2D458F
secondary
#B6A162
accent
#B84CDC
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F