#2D428F#2D428F
#2D428F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.130 H 268.6°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2D428F |
|---|---|
| RGB | rgb(45, 66, 143) |
| HSL | hsl(227, 52%, 37%) |
| HSV | hsv(227, 69%, 56%) |
| CMYK | cmyk(68.5%, 53.8%, 0%, 43.9%) |
| CIE-LAB | lab(30.49, 18.62, -45.19) |
| CIE-LCH | lch(30.49, 48.88, 292.39°) |
| OKLab | oklab(40.77% -0.0032 -0.1298) |
| OKLCH | oklch(40.77% 0.13 268.6) |
| XYZ | xyz(7.9866, 6.4367, 26.8028) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.67
Blueberry
#464196
ΔE00 4.88
Cobalt
#0047AB
ΔE00 4.94
Darkish Blue
#014182
ΔE00 5.29
Sapphire (survey)
#2138AB
ΔE00 5.62
Darkslateblue
#483D8B
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D428F #8F7A2D
analogous
#2D738F #2D428F #492D8F
triadic
#2D428F #8F2D42 #428F2D
tetradic
#2D428F #8F2D73 #8F7A2D #2D8F49
square
#2D428F #8F2D73 #8F7A2D #2D8F49
split-complementary
#2D428F #8F492D #738F2D
monochromatic
#101732 #1E2D60 #2D428F #3C57BE #677DCF
Accessibility & contrast
On white
9.18
#2D428F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2D428F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D428F
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D428F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D428F | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#104C92
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2d428f; /* rgb */ color: rgb(45, 66, 143); /* oklch */ color: oklch(40.8% 0.130 268.6);
Tailwind
colors: {
custom: {
50: '#7276b0',
500: '#2d428f',
950: '#000000',
},
}SCSS
$custom: #2d428f; $custom-light: #7276b0; $custom-dark: #000000;
JSON
{
"hex": "#2d428f",
"rgb": {
"r": 45,
"g": 66,
"b": 143
},
"hsl": {
"h": 227.143,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.40766,
"c": 0.12985,
"h": 268.6
},
"luminance": 0.06437
}Semantic roles & 50–950 ramp
primary
#2D428F
secondary
#B6A462
accent
#BD4CDC
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090811
muted
#7B7B80