#1C308A#1C308A
#1C308A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.151 H 267.9°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #1C308A |
|---|---|
| RGB | rgb(28, 48, 138) |
| HSL | hsl(229, 66%, 33%) |
| HSV | hsv(229, 80%, 54%) |
| CMYK | cmyk(79.7%, 65.2%, 0%, 45.9%) |
| CIE-LAB | lab(24.31, 26.69, -52.20) |
| CIE-LCH | lch(24.31, 58.62, 297.08°) |
| OKLab | oklab(35.79% -0.0056 -0.151) |
| OKLCH | oklch(35.79% 0.151 267.9) |
| XYZ | xyz(6.1217, 4.1951, 24.5269) |
| Luminance | 0.0420 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.07
Blueberry
#464196
ΔE00 6.86
Royal
#0C1793
ΔE00 6.91
Darkslateblue
#483D8B
ΔE00 6.95
Midnight Blue
#191970
ΔE00 7.11
Marine
#042E60
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C308A #8A761C
analogous
#1C678A #1C308A #3F1C8A
triadic
#1C308A #8A1C30 #308A1C
tetradic
#1C308A #8A1C67 #8A761C #1C8A3F
square
#1C308A #8A1C67 #8A761C #1C8A3F
split-complementary
#1C308A #8A3F1C #678A1C
monochromatic
#070D24 #121E57 #1C308A #2642BD #4761DA
Accessibility & contrast
On white
11.42
#1C308A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#1C308A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C308A
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C308A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C308A | 1.00 | 11.42 | 1.84 | 11.42 |
| #FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1c308a; /* rgb */ color: rgb(28, 48, 138); /* oklch */ color: oklch(35.8% 0.151 267.9);
Tailwind
colors: {
custom: {
50: '#6c68ad',
500: '#1c308a',
950: '#000000',
},
}SCSS
$custom: #1c308a; $custom-light: #6c68ad; $custom-dark: #000000;
JSON
{
"hex": "#1c308a",
"rgb": {
"r": 28,
"g": 48,
"b": 138
},
"hsl": {
"h": 229.091,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.35786,
"c": 0.1511,
"h": 267.9
},
"luminance": 0.04196
}Semantic roles & 50–950 ramp
primary
#1C308A
secondary
#BBA646
accent
#CA3FE9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F