#1C268C#1C268C
#1C268C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.166 H 269.9°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).
Color values
| HEX | #1C268C |
|---|---|
| RGB | rgb(28, 38, 140) |
| HSL | hsl(235, 67%, 33%) |
| HSV | hsv(235, 80%, 55%) |
| CMYK | cmyk(80%, 72.9%, 0%, 45.1%) |
| CIE-LAB | lab(22.04, 34.06, -57.17) |
| CIE-LCH | lch(22.04, 66.55, 300.79°) |
| OKLab | oklab(34.19% -0.0003 -0.1656) |
| OKLCH | oklch(34.19% 0.166 269.9) |
| XYZ | xyz(5.9040, 3.5259, 25.1753) |
| Luminance | 0.0353 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.79
Midnight Blue
#191970
ΔE00 5.06
Sapphire (survey)
#2138AB
ΔE00 6.27
Cobalt Blue
#030AA7
ΔE00 6.37
Royal Blue (survey)
#0504AA
ΔE00 6.99
Indigo Blue
#3A18B1
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C268C #8C821C
analogous
#1C5E8C #1C268C #4A1C8C
triadic
#1C268C #8C1C26 #268C1C
tetradic
#1C268C #8C1C5E #8C821C #1C8C4A
square
#1C268C #8C1C5E #8C821C #1C8C4A
split-complementary
#1C268C #8C4A1C #5E8C1C
monochromatic
#080A26 #121859 #1C268C #2634BF #4855DA
Accessibility & contrast
On white
12.31
#1C268C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#1C268C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C268C
12.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C268C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C268C | 1.00 | 12.31 | 1.71 | 12.31 |
| #FFFFFF | 12.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#002F8A
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1c268c; /* rgb */ color: rgb(28, 38, 140); /* oklch */ color: oklch(34.2% 0.166 269.9);
Tailwind
colors: {
custom: {
50: '#6d61af',
500: '#1c268c',
950: '#000000',
},
}SCSS
$custom: #1c268c; $custom-light: #6d61af; $custom-dark: #000000;
JSON
{
"hex": "#1c268c",
"rgb": {
"r": 28,
"g": 38,
"b": 140
},
"hsl": {
"h": 234.643,
"s": 66.667,
"l": 32.941
},
"oklch": {
"l": 0.34194,
"c": 0.16557,
"h": 269.9
},
"luminance": 0.03527
}Semantic roles & 50–950 ramp
primary
#1C268C
secondary
#BCB248
accent
#DA3EEA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080510
muted
#7B797F