#28438C#28438C
#28438C is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.5% C 0.126 H 265.7°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #28438C |
|---|---|
| RGB | rgb(40, 67, 140) |
| HSL | hsl(224, 56%, 35%) |
| HSV | hsv(224, 71%, 55%) |
| CMYK | cmyk(71.4%, 52.1%, 0%, 45.1%) |
| CIE-LAB | lab(30.30, 15.98, -43.67) |
| CIE-LCH | lch(30.30, 46.50, 290.10°) |
| OKLab | oklab(40.48% -0.0093 -0.1254) |
| OKLCH | oklch(40.48% 0.126 265.7) |
| XYZ | xyz(7.6142, 6.3581, 25.6318) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.63
Darkish Blue
#014182
ΔE00 4.18
Cobalt
#0047AB
ΔE00 4.68
Twilight Blue
#0A437A
ΔE00 5.06
Blueberry
#464196
ΔE00 6.05
Dusk Blue
#26538D
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28438C #8C7128
analogous
#28758C #28438C #3F288C
triadic
#28438C #8C2843 #438C28
tetradic
#28438C #8C2875 #8C7128 #288C3F
square
#28438C #8C2875 #8C7128 #288C3F
split-complementary
#28438C #8C3F28 #758C28
monochromatic
#0D152D #1A2C5C #28438C #365ABC #5E7DD1
Accessibility & contrast
On white
9.24
#28438C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#28438C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28438C
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28438C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28438C | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#174C8F
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #28438c; /* rgb */ color: rgb(40, 67, 140); /* oklch */ color: oklch(40.5% 0.126 265.7);
Tailwind
colors: {
custom: {
50: '#6f76ae',
500: '#28438c',
950: '#000000',
},
}SCSS
$custom: #28438c; $custom-light: #6f76ae; $custom-dark: #000000;
JSON
{
"hex": "#28438c",
"rgb": {
"r": 40,
"g": 67,
"b": 140
},
"hsl": {
"h": 223.8,
"s": 55.556,
"l": 35.294
},
"oklch": {
"l": 0.40483,
"c": 0.12576,
"h": 265.7
},
"luminance": 0.06359
}Semantic roles & 50–950 ramp
primary
#28438C
secondary
#B69D5A
accent
#B649DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F