#1C127F#1C127F
#1C127F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.168 H 273.4°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).
Color values
| HEX | #1C127F |
|---|---|
| RGB | rgb(28, 18, 127) |
| HSL | hsl(246, 75%, 28%) |
| HSV | hsv(246, 86%, 50%) |
| CMYK | cmyk(78%, 85.8%, 0%, 50.2%) |
| CIE-LAB | lab(16.56, 40.87, -58.05) |
| CIE-LCH | lch(16.56, 70.99, 305.15°) |
| OKLab | oklab(29.89% 0.01 -0.1679) |
| OKLCH | oklch(29.89% 0.168 273.4) |
| XYZ | xyz(4.5247, 2.2113, 20.2629) |
| Luminance | 0.0221 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.10
Navy
#000080
ΔE00 3.15
Midnight Blue
#191970
ΔE00 3.19
Darkblue
#00008B
ΔE00 3.29
Deep Blue
#040273
ΔE00 3.50
Dark Royal Blue
#02066F
ΔE00 3.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C127F #757F12
analogous
#123E7F #1C127F #52127F
triadic
#1C127F #7F1C12 #127F1C
tetradic
#1C127F #7F123E #757F12 #127F52
square
#1C127F #7F123E #757F12 #127F52
split-complementary
#1C127F #7F5212 #3E7F12
monochromatic
#06041B #100A49 #1C127F #281AB5 #3B2BE1
Accessibility & contrast
On white
14.56
#1C127F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#1C127F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C127F
14.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C127F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C127F | 1.00 | 14.56 | 1.44 | 14.56 |
| #FFFFFF | 14.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1c127f; /* rgb */ color: rgb(28, 18, 127); /* oklch */ color: oklch(29.9% 0.168 273.4);
Tailwind
colors: {
custom: {
50: '#6c54a5',
500: '#1c127f',
950: '#000000',
},
}SCSS
$custom: #1c127f; $custom-light: #6c54a5; $custom-dark: #000000;
JSON
{
"hex": "#1c127f",
"rgb": {
"r": 28,
"g": 18,
"b": 127
},
"hsl": {
"h": 245.505,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.29887,
"c": 0.16819,
"h": 273.4
},
"luminance": 0.02212
}Semantic roles & 50–950 ramp
primary
#1C127F
secondary
#A9B538
accent
#F236E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F