#28306C#28306C
#28306C is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.8% C 0.104 H 273.8°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).
Color values
| HEX | #28306C |
|---|---|
| RGB | rgb(40, 48, 108) |
| HSL | hsl(233, 46%, 29%) |
| HSV | hsv(233, 63%, 42%) |
| CMYK | cmyk(63%, 55.6%, 0%, 57.6%) |
| CIE-LAB | lab(22.47, 16.89, -36.14) |
| CIE-LCH | lch(22.47, 39.90, 295.05°) |
| OKLab | oklab(33.82% 0.0069 -0.1036) |
| OKLCH | oklch(33.82% 0.104 273.8) |
| XYZ | xyz(4.6379, 3.6474, 14.6441) |
| Luminance | 0.0365 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.54
Navy Blue
#1B2A4A
ΔE00 6.89
Darkslateblue
#483D8B
ΔE00 7.39
Marine Blue
#01386A
ΔE00 7.44
Midnight Blue
#191970
ΔE00 7.45
Blueberry
#464196
ΔE00 8.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28306C #6C6428
analogous
#28526C #28306C #42286C
triadic
#28306C #6C2830 #306C28
tetradic
#28306C #6C2852 #6C6428 #286C42
square
#28306C #6C2852 #6C6428 #286C42
split-complementary
#28306C #6C4228 #526C28
monochromatic
#080A16 #171C3F #28306C #394499 #505DBE
Accessibility & contrast
On white
12.14
#28306C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#28306C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28306C
12.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28306C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28306C | 1.00 | 12.14 | 1.73 | 12.14 |
| #FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C396E
Deuteranopia (green-blind)
#00336B
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #28306c; /* rgb */ color: rgb(40, 48, 108); /* oklch */ color: oklch(33.8% 0.104 273.8);
Tailwind
colors: {
custom: {
50: '#696897',
500: '#28306c',
950: '#000000',
},
}SCSS
$custom: #28306c; $custom-light: #696897; $custom-dark: #000000;
JSON
{
"hex": "#28306c",
"rgb": {
"r": 40,
"g": 48,
"b": 108
},
"hsl": {
"h": 232.941,
"s": 45.946,
"l": 29.02
},
"oklch": {
"l": 0.33815,
"c": 0.10379,
"h": 273.8
},
"luminance": 0.03648
}Semantic roles & 50–950 ramp
primary
#28306C
secondary
#9E9551
accent
#C652D6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E