#1F7394#1F7394
#1F7394 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.2% C 0.092 H 229.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7394 |
|---|---|
| RGB | rgb(31, 115, 148) |
| HSL | hsl(197, 65%, 35%) |
| HSV | hsv(197, 79%, 58%) |
| CMYK | cmyk(79.1%, 22.3%, 0%, 42%) |
| CIE-LAB | lab(45.21, -12.71, -24.92) |
| CIE-LCH | lch(45.21, 27.98, 242.97°) |
| OKLab | oklab(52.22% -0.0601 -0.0701) |
| OKLCH | oklch(52.22% 0.092 229.4) |
| XYZ | xyz(12.0389, 14.6894, 30.2121) |
| Luminance | 0.1469 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Sea Blue
#047495
ΔE00 1.35
Ocean Blue (survey)
#03719C
ΔE00 2.89
Cerulean
#007BA7
ΔE00 3.96
Ocean
#017B92
ΔE00 5.73
Peacock Blue
#016795
ΔE00 5.91
Nice Blue
#107AB0
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7394 #94401F
analogous
#1F947A #1F7394 #1F3994
triadic
#1F7394 #941F73 #73941F
tetradic
#1F7394 #7A1F94 #94401F #39941F
square
#1F7394 #7A1F94 #94401F #39941F
split-complementary
#1F7394 #941F39 #947A1F
monochromatic
#0A242F #144C61 #1F7394 #2A9AC7 #53B4DB
Accessibility & contrast
On white
5.33
#1F7394 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#1F7394 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7394
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7394 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7394 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#627196
Deuteranopia (green-blind)
#526694
Tritanopia (blue-blind)
#007C7E
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #1f7394; /* rgb */ color: rgb(31, 115, 148); /* oklch */ color: oklch(52.2% 0.092 229.4);
Tailwind
colors: {
custom: {
50: '#6e9bb3',
500: '#1f7394',
950: '#000000',
},
}SCSS
$custom: #1f7394; $custom-light: #6e9bb3; $custom-dark: #000000;
JSON
{
"hex": "#1f7394",
"rgb": {
"r": 31,
"g": 115,
"b": 148
},
"hsl": {
"h": 196.923,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.52217,
"c": 0.09232,
"h": 229.4
},
"luminance": 0.14691
}Semantic roles & 50–950 ramp
primary
#1F7394
secondary
#BE7051
accent
#6F3FE8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80