#2D439F#2D439F
#2D439F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.3% C 0.151 H 268.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2D439F |
|---|---|
| RGB | rgb(45, 67, 159) |
| HSL | hsl(228, 56%, 40%) |
| HSV | hsv(228, 72%, 62%) |
| CMYK | cmyk(71.7%, 57.9%, 0%, 37.6%) |
| CIE-LAB | lab(31.98, 23.98, -52.53) |
| CIE-LCH | lch(31.98, 57.74, 294.54°) |
| OKLab | oklab(42.27% -0.0031 -0.1514) |
| OKLCH | oklch(42.27% 0.151 268.8) |
| XYZ | xyz(9.3452, 7.0745, 33.6672) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.72
Sapphire (survey)
#2138AB
ΔE00 3.97
Cobalt (survey)
#1E488F
ΔE00 4.57
Blueberry
#464196
ΔE00 4.61
Blue Blue
#2242C7
ΔE00 5.49
Ocean Blue
#4F42B5
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D439F #9F892D
analogous
#2D7C9F #2D439F #502D9F
triadic
#2D439F #9F2D43 #439F2D
tetradic
#2D439F #9F2D7C #9F892D #2D9F50
square
#2D439F #9F2D7C #9F892D #2D9F50
split-complementary
#2D439F #9F502D #7C9F2D
monochromatic
#121B40 #202F6F #2D439F #405BC9 #7084D6
Accessibility & contrast
On white
8.70
#2D439F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#2D439F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D439F
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D439F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D439F | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2d439f; /* rgb */ color: rgb(45, 67, 159); /* oklch */ color: oklch(42.3% 0.151 268.8);
Tailwind
colors: {
custom: {
50: '#7576bc',
500: '#2d439f',
950: '#000000',
},
}SCSS
$custom: #2d439f; $custom-light: #7576bc; $custom-dark: #000000;
JSON
{
"hex": "#2d439f",
"rgb": {
"r": 45,
"g": 67,
"b": 159
},
"hsl": {
"h": 228.421,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.42268,
"c": 0.1514,
"h": 268.8
},
"luminance": 0.07075
}Semantic roles & 50–950 ramp
primary
#2D439F
secondary
#BEAE6A
accent
#C249DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81