#28306F#28306F
#28306F is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.1% C 0.108 H 273.7°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).
Color values
| HEX | #28306F |
|---|---|
| RGB | rgb(40, 48, 111) |
| HSL | hsl(233, 47%, 30%) |
| HSV | hsv(233, 64%, 44%) |
| CMYK | cmyk(64%, 56.8%, 0%, 56.5%) |
| CIE-LAB | lab(22.70, 18.02, -37.71) |
| CIE-LCH | lch(22.70, 41.80, 295.55°) |
| OKLab | oklab(34.06% 0.0071 -0.1082) |
| OKLCH | oklch(34.06% 0.108 273.7) |
| XYZ | xyz(4.8003, 3.7123, 15.4994) |
| Luminance | 0.0371 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.73
Darkslateblue
#483D8B
ΔE00 7.05
Midnight Blue
#191970
ΔE00 7.16
Navy Blue
#1B2A4A
ΔE00 7.35
Marine Blue
#01386A
ΔE00 7.50
Blueberry
#464196
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28306F #6F6728
analogous
#28546F #28306F #43286F
triadic
#28306F #6F2830 #306F28
tetradic
#28306F #6F2854 #6F6728 #286F43
square
#28306F #6F2854 #6F6728 #286F43
split-complementary
#28306F #6F4328 #546F28
monochromatic
#080A16 #181D42 #28306F #38439C #515EC0
Accessibility & contrast
On white
12.05
#28306F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#28306F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28306F
12.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28306F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28306F | 1.00 | 12.05 | 1.74 | 12.05 |
| #FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#063971
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #28306f; /* rgb */ color: rgb(40, 48, 111); /* oklch */ color: oklch(34.1% 0.108 273.7);
Tailwind
colors: {
custom: {
50: '#6a6899',
500: '#28306f',
950: '#000000',
},
}SCSS
$custom: #28306f; $custom-light: #6a6899; $custom-dark: #000000;
JSON
{
"hex": "#28306f",
"rgb": {
"r": 40,
"g": 48,
"b": 111
},
"hsl": {
"h": 233.239,
"s": 47.02,
"l": 29.608
},
"oklch": {
"l": 0.34058,
"c": 0.10839,
"h": 273.7
},
"luminance": 0.03713
}Semantic roles & 50–950 ramp
primary
#28306F
secondary
#A19851
accent
#C851D7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E