#1C2F7F#1C2F7F
#1C2F7F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.137 H 268.0°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #1C2F7F |
|---|---|
| RGB | rgb(28, 47, 127) |
| HSL | hsl(228, 64%, 30%) |
| HSV | hsv(228, 78%, 50%) |
| CMYK | cmyk(78%, 63%, 0%, 50.2%) |
| CIE-LAB | lab(23.04, 23.05, -47.38) |
| CIE-LCH | lch(23.04, 52.69, 295.94°) |
| OKLab | oklab(34.54% -0.0048 -0.1369) |
| OKLCH | oklch(34.54% 0.137 268) |
| XYZ | xyz(5.3248, 3.8116, 20.5296) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.25
Midnight Blue
#191970
ΔE00 6.58
Sapphire (survey)
#2138AB
ΔE00 6.71
Marine Blue
#01386A
ΔE00 7.22
Darkslateblue
#483D8B
ΔE00 7.28
Blueberry
#464196
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C2F7F #7F6C1C
analogous
#1C607F #1C2F7F #3A1C7F
triadic
#1C2F7F #7F1C2F #2F7F1C
tetradic
#1C2F7F #7F1C60 #7F6C1C #1C7F3A
square
#1C2F7F #7F1C60 #7F6C1C #1C7F3A
split-complementary
#1C2F7F #7F3A1C #607F1C
monochromatic
#060A1B #111C4D #1C2F7F #2742B1 #405DD5
Accessibility & contrast
On white
11.92
#1C2F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#1C2F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C2F7F
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C2F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C2F7F | 1.00 | 11.92 | 1.76 | 11.92 |
| #FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1c2f7f; /* rgb */ color: rgb(28, 47, 127); /* oklch */ color: oklch(34.5% 0.137 268.0);
Tailwind
colors: {
custom: {
50: '#6967a5',
500: '#1c2f7f',
950: '#000000',
},
}SCSS
$custom: #1c2f7f; $custom-light: #6967a5; $custom-dark: #000000;
JSON
{
"hex": "#1c2f7f",
"rgb": {
"r": 28,
"g": 47,
"b": 127
},
"hsl": {
"h": 228.485,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.3454,
"c": 0.13696,
"h": 268
},
"luminance": 0.03812
}Semantic roles & 50–950 ramp
primary
#1C2F7F
secondary
#B39D44
accent
#C741E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F