#2D428D#2D428D
#2D428D is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.127 H 268.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2D428D |
|---|---|
| RGB | rgb(45, 66, 141) |
| HSL | hsl(227, 52%, 36%) |
| HSV | hsv(227, 68%, 55%) |
| CMYK | cmyk(68.1%, 53.2%, 0%, 44.7%) |
| CIE-LAB | lab(30.34, 17.86, -44.20) |
| CIE-LCH | lch(30.34, 47.67, 292.01°) |
| OKLab | oklab(40.61% -0.0034 -0.1269) |
| OKLCH | oklch(40.61% 0.127 268.5) |
| XYZ | xyz(7.8365, 6.3767, 26.0120) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.61
Blueberry
#464196
ΔE00 5.03
Cobalt
#0047AB
ΔE00 5.14
Darkish Blue
#014182
ΔE00 5.15
Sapphire (survey)
#2138AB
ΔE00 5.90
Twilight Blue
#0A437A
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D428D #8D782D
analogous
#2D728D #2D428D #482D8D
triadic
#2D428D #8D2D42 #428D2D
tetradic
#2D428D #8D2D72 #8D782D #2D8D48
square
#2D428D #8D2D72 #8D782D #2D8D48
split-complementary
#2D428D #8D482D #728D2D
monochromatic
#0F1730 #1E2C5F #2D428D #3C58BB #667DCE
Accessibility & contrast
On white
9.23
#2D428D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2D428D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D428D
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D428D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D428D | 1.00 | 9.23 | 2.28 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#144C90
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2d428d; /* rgb */ color: rgb(45, 66, 141); /* oklch */ color: oklch(40.6% 0.127 268.5);
Tailwind
colors: {
custom: {
50: '#7176af',
500: '#2d428d',
950: '#000000',
},
}SCSS
$custom: #2d428d; $custom-light: #7176af; $custom-dark: #000000;
JSON
{
"hex": "#2d428d",
"rgb": {
"r": 45,
"g": 66,
"b": 141
},
"hsl": {
"h": 226.875,
"s": 51.613,
"l": 36.471
},
"oklch": {
"l": 0.40611,
"c": 0.12693,
"h": 268.5
},
"luminance": 0.06377
}Semantic roles & 50–950 ramp
primary
#2D428D
secondary
#B5A261
accent
#BC4DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F