#1D5FC9#1D5FC9
#1D5FC9 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.9% C 0.178 H 259.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1D5FC9 |
|---|---|
| RGB | rgb(29, 95, 201) |
| HSL | hsl(217, 75%, 45%) |
| HSV | hsv(217, 86%, 79%) |
| CMYK | cmyk(85.6%, 52.7%, 0%, 21.2%) |
| CIE-LAB | lab(42.25, 19.96, -60.66) |
| CIE-LCH | lch(42.25, 63.86, 288.21°) |
| OKLab | oklab(50.88% -0.0311 -0.175) |
| OKLCH | oklch(50.88% 0.178 259.9) |
| XYZ | xyz(15.1377, 12.6608, 56.8929) |
| Luminance | 0.1266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.13
Sapphire
#0F52BA
ΔE00 4.60
Azul
#1D5DEC
ΔE00 4.87
Mid Blue
#276AB3
ΔE00 5.09
French Blue
#436BAD
ΔE00 5.17
Royal Blue
#4169E1
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D5FC9 #C9871D
analogous
#1DB5C9 #1D5FC9 #311DC9
triadic
#1D5FC9 #C91D5F #5FC91D
tetradic
#1D5FC9 #C91DB5 #C9871D #1DC931
square
#1D5FC9 #C91DB5 #C9871D #1DC931
split-complementary
#1D5FC9 #C9311D #B5C91D
monochromatic
#0E2C5E #154694 #1D5FC9 #407FE3 #75A2EB
Accessibility & contrast
On white
5.94
#1D5FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#1D5FC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1D5FC9
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D5FC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D5FC9 | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#096CCD
Deuteranopia (green-blind)
#005CC7
Tritanopia (blue-blind)
#00798B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #1d5fc9; /* rgb */ color: rgb(29, 95, 201); /* oklch */ color: oklch(50.9% 0.178 259.9);
Tailwind
colors: {
custom: {
50: '#798bda',
500: '#1d5fc9',
950: '#000000',
},
}SCSS
$custom: #1d5fc9; $custom-light: #798bda; $custom-dark: #000000;
JSON
{
"hex": "#1d5fc9",
"rgb": {
"r": 29,
"g": 95,
"b": 201
},
"hsl": {
"h": 216.977,
"s": 74.783,
"l": 45.098
},
"oklch": {
"l": 0.50875,
"c": 0.17778,
"h": 259.9
},
"luminance": 0.12663
}Semantic roles & 50–950 ramp
primary
#1D5FC9
secondary
#D2AC70
accent
#AA36F1
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0B15
muted
#7C7C83