#28498F#28498F
#28498F is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.0% C 0.122 H 263.2°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #28498F |
|---|---|
| RGB | rgb(40, 73, 143) |
| HSL | hsl(221, 56%, 36%) |
| HSV | hsv(221, 72%, 56%) |
| CMYK | cmyk(72%, 49%, 0%, 43.9%) |
| CIE-LAB | lab(32.25, 13.06, -42.36) |
| CIE-LCH | lch(32.25, 44.33, 287.14°) |
| OKLab | oklab(42.04% -0.0145 -0.1215) |
| OKLCH | oklch(42.04% 0.122 263.2) |
| XYZ | xyz(8.2138, 7.1985, 26.9379) |
| Luminance | 0.0720 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.18
Cobalt
#0047AB
ΔE00 4.03
Dusk Blue
#26538D
ΔE00 4.06
Darkish Blue
#014182
ΔE00 4.10
Twilight Blue
#0A437A
ΔE00 4.65
Light Navy
#155084
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28498F #8F6E28
analogous
#287C8F #28498F #3B288F
triadic
#28498F #8F2849 #498F28
tetradic
#28498F #8F287C #8F6E28 #288F3B
square
#28498F #8F287C #8F6E28 #288F3B
split-complementary
#28498F #8F3B28 #7C8F28
monochromatic
#0D182F #1B315F #28498F #3561BF #5F84D2
Accessibility & contrast
On white
8.61
#28498F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#28498F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28498F
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28498F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28498F | 1.00 | 8.61 | 2.44 | 8.61 |
| #FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#235192
Deuteranopia (green-blind)
#08478E
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #28498f; /* rgb */ color: rgb(40, 73, 143); /* oklch */ color: oklch(42.0% 0.122 263.2);
Tailwind
colors: {
custom: {
50: '#6f7bb0',
500: '#28498f',
950: '#000000',
},
}SCSS
$custom: #28498f; $custom-light: #6f7bb0; $custom-dark: #000000;
JSON
{
"hex": "#28498f",
"rgb": {
"r": 40,
"g": 73,
"b": 143
},
"hsl": {
"h": 220.777,
"s": 56.284,
"l": 35.882
},
"oklch": {
"l": 0.42042,
"c": 0.12233,
"h": 263.2
},
"luminance": 0.07199
}Semantic roles & 50–950 ramp
primary
#28498F
secondary
#B89A5B
accent
#AF48E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F