#1F7EA0#1F7EA0

#1F7EA0 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.6% C 0.098 H 227.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#1F7EA0
RGBrgb(31, 126, 160)
HSLhsl(196, 68%, 37%)
HSVhsv(196, 81%, 63%)
CMYKcmyk(80.6%, 21.2%, 0%, 37.3%)
CIE-LABlab(49.19, -14.64, -25.80)
CIE-LCHlch(49.19, 29.66, 240.43°)
OKLaboklab(55.58% -0.0664 -0.0725)
OKLCHoklch(55.58% 0.098 227.5)
XYZxyz(14.3685, 17.7493, 35.9196)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7EA0 #A0411F
analogous
#1FA082 #1F7EA0 #1F3EA0
triadic
#1F7EA0 #A01F7E #7EA01F
tetradic
#1F7EA0 #821FA0 #A0411F #3EA01F
square
#1F7EA0 #821FA0 #A0411F #3EA01F
split-complementary
#1F7EA0 #A01F3E #A0821F
monochromatic
#0B2D39 #15566D #1F7EA0 #29A6D3 #5ABCDF

Accessibility & contrast

On white

4.62
#1F7EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#1F7EA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7EA0
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7EA0#FFFFFF#000000##FFFFFF
##1F7EA01.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7CA2
Deuteranopia (green-blind)
#5B70A0
Tritanopia (blue-blind)
#008889
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f7ea0;
/* rgb */ color: rgb(31, 126, 160);
/* oklch */ color: oklch(55.6% 0.098 227.5);
Tailwind
colors: {
  custom: {
    50: '#71a3bc',
    500: '#1f7ea0',
    950: '#000000',
  },
}
SCSS
$custom: #1f7ea0;
$custom-light: #71a3bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7ea0",
  "rgb": {
    "r": 31,
    "g": 126,
    "b": 160
  },
  "hsl": {
    "h": 195.814,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.55576,
    "c": 0.09833,
    "h": 227.5
  },
  "luminance": 0.17751
}

Semantic roles & 50–950 ramp

primary
#1F7EA0
secondary
#C37458
accent
#6B3DEA
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #1F7EA0

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#1F7EA0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva