#1F7CA1#1F7CA1

#1F7CA1 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.1% C 0.100 H 230.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#1F7CA1
RGBrgb(31, 124, 161)
HSLhsl(197, 68%, 38%)
HSVhsv(197, 81%, 63%)
CMYKcmyk(80.7%, 23%, 0%, 36.9%)
CIE-LABlab(48.61, -13.16, -27.28)
CIE-LCHlch(48.61, 30.29, 244.26°)
OKLaboklab(55.13% -0.0641 -0.0768)
OKLCHoklch(55.13% 0.1 230.2)
XYZxyz(14.2031, 17.2781, 36.2977)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7CA1 #A1441F
analogous
#1FA185 #1F7CA1 #1F3BA1
triadic
#1F7CA1 #A11F7C #7CA11F
tetradic
#1F7CA1 #851FA1 #A1441F #3BA11F
square
#1F7CA1 #851FA1 #A1441F #3BA11F
split-complementary
#1F7CA1 #A11F3B #A1851F
monochromatic
#0B2D3A #15546E #1F7CA1 #29A4D4 #5BBADF

Accessibility & contrast

On white

4.71
#1F7CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#1F7CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7CA1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7CA1#FFFFFF#000000##FFFFFF
##1F7CA11.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f7ca1;
/* rgb */ color: rgb(31, 124, 161);
/* oklch */ color: oklch(55.1% 0.100 230.2);
Tailwind
colors: {
  custom: {
    50: '#71a2bd',
    500: '#1f7ca1',
    950: '#000000',
  },
}
SCSS
$custom: #1f7ca1;
$custom-light: #71a2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7ca1",
  "rgb": {
    "r": 31,
    "g": 124,
    "b": 161
  },
  "hsl": {
    "h": 197.077,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.55125,
    "c": 0.10004,
    "h": 230.2
  },
  "luminance": 0.1728
}

Semantic roles & 50–950 ramp

primary
#1F7CA1
secondary
#C47758
accent
#6F3DEB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F12
muted
#7B7E81

Preview Lab

Preview with #1F7CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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