#1F7EA8#1F7EA8
#1F7EA8 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.0% C 0.106 H 233.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7EA8 |
|---|---|
| RGB | rgb(31, 126, 168) |
| HSL | hsl(198, 69%, 39%) |
| HSV | hsv(198, 82%, 66%) |
| CMYK | cmyk(81.5%, 25%, 0%, 34.1%) |
| CIE-LAB | lab(49.54, -11.76, -29.91) |
| CIE-LCH | lch(49.54, 32.14, 248.53°) |
| OKLab | oklab(55.97% -0.0635 -0.0843) |
| OKLCH | oklch(55.97% 0.106 233) |
| XYZ | xyz(15.0909, 18.0383, 39.7246) |
| Luminance | 0.1804 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cerulean
#007BA7
ΔE00 1.49
Nice Blue
#107AB0
ΔE00 3.37
Dirty Blue
#3F829D
ΔE00 4.54
Ocean Blue (survey)
#03719C
ΔE00 4.93
Sea Blue
#047495
ΔE00 5.14
Stormy Blue
#507B9C
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7EA8 #A8491F
analogous
#1FA88E #1F7EA8 #1F3AA8
triadic
#1F7EA8 #A81F7E #7EA81F
tetradic
#1F7EA8 #8E1FA8 #A8491F #3AA81F
square
#1F7EA8 #8E1FA8 #A8491F #3AA81F
split-complementary
#1F7EA8 #A81F3A #A88E1F
monochromatic
#0C3141 #155774 #1F7EA8 #2CA3D8 #60BAE2
Accessibility & contrast
On white
4.56
#1F7EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#1F7EA8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F7EA8
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7EA8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F7EA8 | 1.00 | 4.56 | 4.61 | 4.61 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#697DAA
Deuteranopia (green-blind)
#5770A7
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #1f7ea8; /* rgb */ color: rgb(31, 126, 168); /* oklch */ color: oklch(56.0% 0.106 233.0);
Tailwind
colors: {
custom: {
50: '#72a3c2',
500: '#1f7ea8',
950: '#000000',
},
}SCSS
$custom: #1f7ea8; $custom-light: #72a3c2; $custom-dark: #000000;
JSON
{
"hex": "#1f7ea8",
"rgb": {
"r": 31,
"g": 126,
"b": 168
},
"hsl": {
"h": 198.394,
"s": 68.844,
"l": 39.02
},
"oklch": {
"l": 0.55974,
"c": 0.10556,
"h": 233
},
"luminance": 0.1804
}Semantic roles & 50–950 ramp
primary
#1F7EA8
secondary
#C67D5D
accent
#723CEC
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#090F12
muted
#7B7F81