#28307C#28307C
#28307C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.128 H 273.3°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).
Color values
| HEX | #28307C |
|---|---|
| RGB | rgb(40, 48, 124) |
| HSL | hsl(234, 51%, 32%) |
| HSV | hsv(234, 68%, 49%) |
| CMYK | cmyk(67.7%, 61.3%, 0%, 51.4%) |
| CIE-LAB | lab(23.74, 22.92, -44.31) |
| CIE-LCH | lch(23.74, 49.89, 297.35°) |
| OKLab | oklab(35.16% 0.0074 -0.1276) |
| OKLCH | oklch(35.16% 0.128 273.3) |
| XYZ | xyz(5.5689, 4.0198, 19.5473) |
| Luminance | 0.0402 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.07
Midnight Blue
#191970
ΔE00 6.52
Blueberry
#464196
ΔE00 6.78
Marine
#042E60
ΔE00 6.93
Sapphire (survey)
#2138AB
ΔE00 7.17
Royal
#0C1793
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28307C #7C7428
analogous
#285A7C #28307C #4A287C
triadic
#28307C #7C2830 #307C28
tetradic
#28307C #7C285A #7C7428 #287C4A
square
#28307C #7C285A #7C7428 #287C4A
split-complementary
#28307C #7C4A28 #5A7C28
monochromatic
#0A0C1F #191E4E #28307C #3742AA #5661C8
Accessibility & contrast
On white
11.64
#28307C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#28307C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28307C
11.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28307C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28307C | 1.00 | 11.64 | 1.80 | 11.64 |
| #FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #28307c; /* rgb */ color: rgb(40, 48, 124); /* oklch */ color: oklch(35.2% 0.128 273.3);
Tailwind
colors: {
custom: {
50: '#6d68a3',
500: '#28307c',
950: '#000000',
},
}SCSS
$custom: #28307c; $custom-light: #6d68a3; $custom-dark: #000000;
JSON
{
"hex": "#28307c",
"rgb": {
"r": 40,
"g": 48,
"b": 124
},
"hsl": {
"h": 234.286,
"s": 51.22,
"l": 32.157
},
"oklch": {
"l": 0.35162,
"c": 0.1278,
"h": 273.3
},
"luminance": 0.0402
}Semantic roles & 50–950 ramp
primary
#28307C
secondary
#ADA552
accent
#CD4DDB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F