#2D428C#2D428C
#2D428C is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.125 H 268.4°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2D428C |
|---|---|
| RGB | rgb(45, 66, 140) |
| HSL | hsl(227, 51%, 36%) |
| HSV | hsv(227, 68%, 55%) |
| CMYK | cmyk(67.9%, 52.9%, 0%, 45.1%) |
| CIE-LAB | lab(30.27, 17.49, -43.70) |
| CIE-LCH | lch(30.27, 47.07, 291.81°) |
| OKLab | oklab(40.53% -0.0035 -0.1254) |
| OKLCH | oklch(40.53% 0.125 268.4) |
| XYZ | xyz(7.7624, 6.3470, 25.6219) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.59
Darkish Blue
#014182
ΔE00 5.09
Blueberry
#464196
ΔE00 5.11
Cobalt
#0047AB
ΔE00 5.24
Twilight Blue
#0A437A
ΔE00 5.96
Sapphire (survey)
#2138AB
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D428C #8C772D
analogous
#2D728C #2D428C #482D8C
triadic
#2D428C #8C2D42 #428C2D
tetradic
#2D428C #8C2D72 #8C772D #2D8C48
square
#2D428C #8C2D72 #8C772D #2D8C48
split-complementary
#2D428C #8C482D #728C2D
monochromatic
#0F162F #1E2C5E #2D428C #3C58BA #667DCE
Accessibility & contrast
On white
9.25
#2D428C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2D428C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D428C
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D428C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D428C | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#154C8F
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2d428c; /* rgb */ color: rgb(45, 66, 140); /* oklch */ color: oklch(40.5% 0.125 268.4);
Tailwind
colors: {
custom: {
50: '#7176ae',
500: '#2d428c',
950: '#000000',
},
}SCSS
$custom: #2d428c; $custom-light: #7176ae; $custom-dark: #000000;
JSON
{
"hex": "#2d428c",
"rgb": {
"r": 45,
"g": 66,
"b": 140
},
"hsl": {
"h": 226.737,
"s": 51.351,
"l": 36.275
},
"oklch": {
"l": 0.40533,
"c": 0.12546,
"h": 268.4
},
"luminance": 0.06348
}Semantic roles & 50–950 ramp
primary
#2D428C
secondary
#B4A260
accent
#BB4DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F