#1F7CA0#1F7CA0

#1F7CA0 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.1% C 0.099 H 229.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#1F7CA0
RGBrgb(31, 124, 160)
HSLhsl(197, 68%, 37%)
HSVhsv(197, 81%, 63%)
CMYKcmyk(80.6%, 22.5%, 0%, 37.3%)
CIE-LABlab(48.56, -13.51, -26.77)
CIE-LCHlch(48.56, 29.98, 243.21°)
OKLaboklab(55.08% -0.0645 -0.0753)
OKLCHoklch(55.08% 0.099 229.4)
XYZxyz(14.1153, 17.2429, 35.8352)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7CA0 #A0431F
analogous
#1FA083 #1F7CA0 #1F3CA0
triadic
#1F7CA0 #A01F7C #7CA01F
tetradic
#1F7CA0 #831FA0 #A0431F #3CA01F
square
#1F7CA0 #831FA0 #A0431F #3CA01F
split-complementary
#1F7CA0 #A01F3C #A0831F
monochromatic
#0B2D39 #15546D #1F7CA0 #29A4D3 #5ABADF

Accessibility & contrast

On white

4.72
#1F7CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#1F7CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7CA0
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7CA0#FFFFFF#000000##FFFFFF
##1F7CA01.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697AA2
Deuteranopia (green-blind)
#586E9F
Tritanopia (blue-blind)
#008688
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f7ca0;
/* rgb */ color: rgb(31, 124, 160);
/* oklch */ color: oklch(55.1% 0.099 229.4);
Tailwind
colors: {
  custom: {
    50: '#71a2bc',
    500: '#1f7ca0',
    950: '#000000',
  },
}
SCSS
$custom: #1f7ca0;
$custom-light: #71a2bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7ca0",
  "rgb": {
    "r": 31,
    "g": 124,
    "b": 160
  },
  "hsl": {
    "h": 196.744,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.55076,
    "c": 0.09914,
    "h": 229.4
  },
  "luminance": 0.17245
}

Semantic roles & 50–950 ramp

primary
#1F7CA0
secondary
#C37658
accent
#6E3DEA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F12
muted
#7B7E81

Preview Lab

Preview with #1F7CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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