#1C127A#1C127A
#1C127A is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.162 H 274.0°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).
Color values
| HEX | #1C127A |
|---|---|
| RGB | rgb(28, 18, 122) |
| HSL | hsl(246, 74%, 27%) |
| HSV | hsv(246, 85%, 48%) |
| CMYK | cmyk(77%, 85.2%, 0%, 52.2%) |
| CIE-LAB | lab(15.92, 39.27, -55.91) |
| CIE-LCH | lch(15.92, 68.32, 305.08°) |
| OKLab | oklab(29.27% 0.0114 -0.1617) |
| OKLCH | oklch(29.27% 0.162 274) |
| XYZ | xyz(4.2069, 2.0842, 18.5892) |
| Luminance | 0.0209 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.62
Dark Royal Blue
#02066F
ΔE00 3.07
Deep Blue
#040273
ΔE00 3.23
Navy
#000080
ΔE00 3.31
Darkblue
#00008B
ΔE00 3.77
Royal
#0C1793
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C127A #707A12
analogous
#123C7A #1C127A #50127A
triadic
#1C127A #7A1C12 #127A1C
tetradic
#1C127A #7A123C #707A12 #127A50
square
#1C127A #7A123C #707A12 #127A50
split-complementary
#1C127A #7A5012 #3C7A12
monochromatic
#06041B #100A45 #1C127A #281AAF #3927DF
Accessibility & contrast
On white
14.82
#1C127A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#1C127A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C127A
14.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C127A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C127A | 1.00 | 14.82 | 1.42 | 14.82 |
| #FFFFFF | 14.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C7D
Deuteranopia (green-blind)
#002378
Tritanopia (blue-blind)
#003347
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1c127a; /* rgb */ color: rgb(28, 18, 122); /* oklch */ color: oklch(29.3% 0.162 274.0);
Tailwind
colors: {
custom: {
50: '#6a54a2',
500: '#1c127a',
950: '#000000',
},
}SCSS
$custom: #1c127a; $custom-light: #6a54a2; $custom-dark: #000000;
JSON
{
"hex": "#1c127a",
"rgb": {
"r": 28,
"g": 18,
"b": 122
},
"hsl": {
"h": 245.769,
"s": 74.286,
"l": 27.451
},
"oklch": {
"l": 0.29265,
"c": 0.16209,
"h": 274
},
"luminance": 0.02085
}Semantic roles & 50–950 ramp
primary
#1C127A
secondary
#A5B038
accent
#F137DF
background
#F6F4FA
surface
#ECE8F4
border
#C7C4CE
text
#08030F
muted
#7A787F