#1C257A#1C257A
#1C257A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.143 H 270.9°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).
Color values
| HEX | #1C257A |
|---|---|
| RGB | rgb(28, 37, 122) |
| HSL | hsl(234, 63%, 29%) |
| HSV | hsv(234, 77%, 48%) |
| CMYK | cmyk(77%, 69.7%, 0%, 52.2%) |
| CIE-LAB | lab(19.94, 27.97, -49.28) |
| CIE-LCH | lch(19.94, 56.66, 299.58°) |
| OKLab | oklab(32.12% 0.0022 -0.1425) |
| OKLCH | oklch(32.12% 0.143 270.9) |
| XYZ | xyz(4.6521, 2.9747, 18.7376) |
| Luminance | 0.0297 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.43
Royal
#0C1793
ΔE00 5.53
Dark Royal Blue
#02066F
ΔE00 7.30
Darkblue (survey)
#030764
ΔE00 7.62
Marine
#042E60
ΔE00 7.85
Deep Blue
#040273
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C257A #7A711C
analogous
#1C547A #1C257A #421C7A
triadic
#1C257A #7A1C25 #257A1C
tetradic
#1C257A #7A1C54 #7A711C #1C7A42
square
#1C257A #7A1C54 #7A711C #1C7A42
split-complementary
#1C257A #7A421C #547A1C
monochromatic
#060819 #111648 #1C257A #2734AC #3E4CD3
Accessibility & contrast
On white
13.17
#1C257A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#1C257A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C257A
13.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C257A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C257A | 1.00 | 13.17 | 1.60 | 13.17 |
| #FFFFFF | 13.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#002C78
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1c257a; /* rgb */ color: rgb(28, 37, 122); /* oklch */ color: oklch(32.1% 0.143 270.9);
Tailwind
colors: {
custom: {
50: '#685fa1',
500: '#1c257a',
950: '#000000',
},
}SCSS
$custom: #1c257a; $custom-light: #685fa1; $custom-dark: #000000;
JSON
{
"hex": "#1c257a",
"rgb": {
"r": 28,
"g": 37,
"b": 122
},
"hsl": {
"h": 234.255,
"s": 62.667,
"l": 29.412
},
"oklch": {
"l": 0.32119,
"c": 0.14255,
"h": 270.9
},
"luminance": 0.02975
}Semantic roles & 50–950 ramp
primary
#1C257A
secondary
#AEA444
accent
#D642E6
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F