#1F7CA6#1F7CA6

#1F7CA6 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.4% C 0.105 H 233.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#1F7CA6
RGBrgb(31, 124, 166)
HSLhsl(199, 69%, 39%)
HSVhsv(199, 81%, 65%)
CMYKcmyk(81.3%, 25.3%, 0%, 34.9%)
CIE-LABlab(48.83, -11.35, -29.85)
CIE-LCHlch(48.83, 31.93, 249.19°)
OKLaboklab(55.38% -0.0623 -0.0842)
OKLCHoklch(55.38% 0.105 233.5)
XYZxyz(14.6529, 17.4580, 38.6664)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7CA6 #A6491F
analogous
#1FA68C #1F7CA6 #1F38A6
triadic
#1F7CA6 #A61F7C #7CA61F
tetradic
#1F7CA6 #8C1FA6 #A6491F #38A61F
square
#1F7CA6 #8C1FA6 #A6491F #38A61F
split-complementary
#1F7CA6 #A61F38 #A68C1F
monochromatic
#0C2F3F #155572 #1F7CA6 #2BA2D7 #5EB8E1

Accessibility & contrast

On white

4.67
#1F7CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#1F7CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7CA6
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7CA6#FFFFFF#000000##FFFFFF
##1F7CA61.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677BA8
Deuteranopia (green-blind)
#556FA5
Tritanopia (blue-blind)
#00878A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f7ca6;
/* rgb */ color: rgb(31, 124, 166);
/* oklch */ color: oklch(55.4% 0.105 233.5);
Tailwind
colors: {
  custom: {
    50: '#72a1c0',
    500: '#1f7ca6',
    950: '#000000',
  },
}
SCSS
$custom: #1f7ca6;
$custom-light: #72a1c0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7ca6",
  "rgb": {
    "r": 31,
    "g": 124,
    "b": 166
  },
  "hsl": {
    "h": 198.667,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.55377,
    "c": 0.10474,
    "h": 233.5
  },
  "luminance": 0.1746
}

Semantic roles & 50–950 ramp

primary
#1F7CA6
secondary
#C57C5B
accent
#733CEB
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090F12
muted
#7B7E81

Preview Lab

Preview with #1F7CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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