#1C3F97#1C3F97
#1C3F97 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.150 H 264.2°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #1C3F97 |
|---|---|
| RGB | rgb(28, 63, 151) |
| HSL | hsl(223, 69%, 35%) |
| HSV | hsv(223, 81%, 59%) |
| CMYK | cmyk(81.5%, 58.3%, 0%, 40.8%) |
| CIE-LAB | lab(29.50, 21.53, -51.73) |
| CIE-LCH | lch(29.50, 56.03, 292.60°) |
| OKLab | oklab(40.01% -0.0151 -0.1494) |
| OKLCH | oklch(40.01% 0.15 264.2) |
| XYZ | xyz(7.8403, 6.0353, 30.0239) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.74
Cobalt (survey)
#1E488F
ΔE00 3.75
Sapphire (survey)
#2138AB
ΔE00 4.43
Darkish Blue
#014182
ΔE00 4.80
Twilight Blue
#0A437A
ΔE00 5.95
Blueberry
#464196
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C3F97 #97741C
analogous
#1C7C97 #1C3F97 #371C97
triadic
#1C3F97 #971C3F #3F971C
tetradic
#1C3F97 #971C7C #97741C #1C9737
square
#1C3F97 #971C7C #97741C #1C9737
split-complementary
#1C3F97 #97371C #7C971C
monochromatic
#091430 #122963 #1C3F97 #2655CB #4F78DE
Accessibility & contrast
On white
9.51
#1C3F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#1C3F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C3F97
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C3F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C3F97 | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1c3f97; /* rgb */ color: rgb(28, 63, 151); /* oklch */ color: oklch(40.0% 0.150 264.2);
Tailwind
colors: {
custom: {
50: '#6e73b6',
500: '#1c3f97',
950: '#000000',
},
}SCSS
$custom: #1c3f97; $custom-light: #6e73b6; $custom-dark: #000000;
JSON
{
"hex": "#1c3f97",
"rgb": {
"r": 28,
"g": 63,
"b": 151
},
"hsl": {
"h": 222.927,
"s": 68.715,
"l": 35.098
},
"oklch": {
"l": 0.40007,
"c": 0.15018,
"h": 264.2
},
"luminance": 0.06036
}Semantic roles & 50–950 ramp
primary
#1C3F97
secondary
#C1A04E
accent
#BA3CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80