#1F7CA7#1F7CA7

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

Color values

HEX#1F7CA7
RGBrgb(31, 124, 167)
HSLhsl(199, 69%, 39%)
HSVhsv(199, 81%, 65%)
CMYKcmyk(81.4%, 25.7%, 0%, 34.5%)
CIE-LABlab(48.88, -10.98, -30.36)
CIE-LCHlch(48.88, 32.29, 250.11°)
OKLaboklab(55.43% -0.0619 -0.0857)
OKLCHoklch(55.43% 0.106 234.1)
XYZxyz(14.7450, 17.4948, 39.1514)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7CA7 #A74A1F
analogous
#1FA78E #1F7CA7 #1F38A7
triadic
#1F7CA7 #A71F7C #7CA71F
tetradic
#1F7CA7 #8E1FA7 #A74A1F #38A71F
square
#1F7CA7 #8E1FA7 #A74A1F #38A71F
split-complementary
#1F7CA7 #A71F38 #A78E1F
monochromatic
#0C2F40 #155673 #1F7CA7 #2BA1D8 #5FB8E1

Accessibility & contrast

On white

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

On black

4.50
#1F7CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F7CA7#FFFFFF#000000##FFFFFF
##1F7CA71.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677BA9
Deuteranopia (green-blind)
#556FA6
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f7ca7;
/* rgb */ color: rgb(31, 124, 167);
/* oklch */ color: oklch(55.4% 0.106 234.1);
Tailwind
colors: {
  custom: {
    50: '#72a1c1',
    500: '#1f7ca7',
    950: '#000000',
  },
}
SCSS
$custom: #1f7ca7;
$custom-light: #72a1c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7ca7",
  "rgb": {
    "r": 31,
    "g": 124,
    "b": 167
  },
  "hsl": {
    "h": 198.971,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.55429,
    "c": 0.10572,
    "h": 234.1
  },
  "luminance": 0.17497
}

Semantic roles & 50–950 ramp

primary
#1F7CA7
secondary
#C67D5C
accent
#743CEC
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090F12
muted
#7B7E81

Preview Lab

Preview with #1F7CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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