#1C2F97#1C2F97
#1C2F97 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.170 H 268.1°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).
Color values
| HEX | #1C2F97 |
|---|---|
| RGB | rgb(28, 47, 151) |
| HSL | hsl(231, 69%, 35%) |
| HSV | hsv(231, 81%, 59%) |
| CMYK | cmyk(81.5%, 68.9%, 0%, 40.8%) |
| CIE-LAB | lab(25.30, 32.35, -58.60) |
| CIE-LCH | lch(25.30, 66.94, 298.90°) |
| OKLab | oklab(36.9% -0.0057 -0.1697) |
| OKLCH | oklch(36.9% 0.17 268.1) |
| XYZ | xyz(7.0794, 4.5134, 29.7702) |
| Luminance | 0.0451 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.59
Royal
#0C1793
ΔE00 5.96
Blueberry
#464196
ΔE00 6.78
Darkslateblue
#483D8B
ΔE00 7.22
Indigo Blue
#3A18B1
ΔE00 7.45
Midnight Blue
#191970
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C2F97 #97841C
analogous
#1C6C97 #1C2F97 #471C97
triadic
#1C2F97 #971C2F #2F971C
tetradic
#1C2F97 #971C6C #97841C #1C9747
square
#1C2F97 #971C6C #97841C #1C9747
split-complementary
#1C2F97 #97471C #6C971C
monochromatic
#090F30 #121F63 #1C2F97 #263FCB #4F65DE
Accessibility & contrast
On white
11.04
#1C2F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#1C2F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C2F97
11.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C2F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C2F97 | 1.00 | 11.04 | 1.90 | 11.04 |
| #FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003695
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1c2f97; /* rgb */ color: rgb(28, 47, 151); /* oklch */ color: oklch(36.9% 0.170 268.1);
Tailwind
colors: {
custom: {
50: '#6f67b7',
500: '#1c2f97',
950: '#000000',
},
}SCSS
$custom: #1c2f97; $custom-light: #6f67b7; $custom-dark: #000000;
JSON
{
"hex": "#1c2f97",
"rgb": {
"r": 28,
"g": 47,
"b": 151
},
"hsl": {
"h": 230.732,
"s": 68.715,
"l": 35.098
},
"oklch": {
"l": 0.36896,
"c": 0.16982,
"h": 268.1
},
"luminance": 0.04514
}Semantic roles & 50–950 ramp
primary
#1C2F97
secondary
#C1AF4E
accent
#D03CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80