#2D428E#2D428E
#2D428E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.128 H 268.5°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2D428E |
|---|---|
| RGB | rgb(45, 66, 142) |
| HSL | hsl(227, 52%, 37%) |
| HSV | hsv(227, 68%, 56%) |
| CMYK | cmyk(68.3%, 53.5%, 0%, 44.3%) |
| CIE-LAB | lab(30.42, 18.24, -44.69) |
| CIE-LCH | lch(30.42, 48.27, 292.20°) |
| OKLab | oklab(40.69% -0.0033 -0.1283) |
| OKLCH | oklch(40.69% 0.128 268.5) |
| XYZ | xyz(7.9112, 6.4066, 26.4056) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.64
Blueberry
#464196
ΔE00 4.95
Cobalt
#0047AB
ΔE00 5.04
Darkish Blue
#014182
ΔE00 5.22
Sapphire (survey)
#2138AB
ΔE00 5.76
Twilight Blue
#0A437A
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D428E #8E792D
analogous
#2D738E #2D428E #492D8E
triadic
#2D428E #8E2D42 #428E2D
tetradic
#2D428E #8E2D73 #8E792D #2D8E49
square
#2D428E #8E2D73 #8E792D #2D8E49
split-complementary
#2D428E #8E492D #738E2D
monochromatic
#101731 #1E2C60 #2D428E #3C58BC #677DCF
Accessibility & contrast
On white
9.20
#2D428E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2D428E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D428E
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D428E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D428E | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#124C91
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2d428e; /* rgb */ color: rgb(45, 66, 142); /* oklch */ color: oklch(40.7% 0.128 268.5);
Tailwind
colors: {
custom: {
50: '#7276b0',
500: '#2d428e',
950: '#000000',
},
}SCSS
$custom: #2d428e; $custom-light: #7276b0; $custom-dark: #000000;
JSON
{
"hex": "#2d428e",
"rgb": {
"r": 45,
"g": 66,
"b": 142
},
"hsl": {
"h": 227.01,
"s": 51.872,
"l": 36.667
},
"oklch": {
"l": 0.40688,
"c": 0.12839,
"h": 268.5
},
"luminance": 0.06407
}Semantic roles & 50–950 ramp
primary
#2D428E
secondary
#B5A361
accent
#BC4CDB
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F