#1F7BD5#1F7BD5
#1F7BD5 is a mid, vivid cyan. Relative luminance 0.193; OKLCH L 57.9% C 0.161 H 252.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7BD5 |
|---|---|
| RGB | rgb(31, 123, 213) |
| HSL | hsl(210, 75%, 48%) |
| HSV | hsv(210, 85%, 84%) |
| CMYK | cmyk(85.4%, 42.3%, 0%, 16.5%) |
| CIE-LAB | lab(50.99, 6.92, -53.44) |
| CIE-LCH | lch(50.99, 53.88, 277.38°) |
| OKLab | oklab(57.88% -0.048 -0.1532) |
| OKLCH | oklch(57.88% 0.161 252.6) |
| XYZ | xyz(19.6537, 19.2588, 65.6193) |
| Luminance | 0.1926 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 2.42
Bluish
#2976BB
ΔE00 3.27
Steel Blue
#4682B4
ΔE00 4.42
Cool Blue
#4984B8
ΔE00 4.50
Azure
#007FFF
ΔE00 4.78
Cerulean (survey)
#0485D1
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7BD5 #D5791F
analogous
#1FD5D4 #1F7BD5 #1F20D5
triadic
#1F7BD5 #D51F7B #7BD51F
tetradic
#1F7BD5 #D41FD5 #D5791F #20D51F
square
#1F7BD5 #D41FD5 #D5791F #20D51F
split-complementary
#1F7BD5 #D51F20 #D5D41F
monochromatic
#0F3D6A #175CA0 #1F7BD5 #4C99E5 #82B8ED
Accessibility & contrast
On white
4.33
#1F7BD5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#1F7BD5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F7BD5
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7BD5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F7BD5 | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D82D9
Deuteranopia (green-blind)
#2B72D3
Tritanopia (blue-blind)
#00919D
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #1f7bd5; /* rgb */ color: rgb(31, 123, 213); /* oklch */ color: oklch(57.9% 0.161 252.6);
Tailwind
colors: {
custom: {
50: '#7ba0e2',
500: '#1f7bd5',
950: '#000000',
},
}SCSS
$custom: #1f7bd5; $custom-light: #7ba0e2; $custom-dark: #000000;
JSON
{
"hex": "#1f7bd5",
"rgb": {
"r": 31,
"g": 123,
"b": 213
},
"hsl": {
"h": 209.67,
"s": 74.59,
"l": 47.843
},
"oklch": {
"l": 0.57878,
"c": 0.16051,
"h": 252.6
},
"luminance": 0.19261
}Semantic roles & 50–950 ramp
primary
#1F7BD5
secondary
#D5A77A
accent
#9337F1
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83