#1F79A5#1F79A5

#1F79A5 is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.6% C 0.106 H 235.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#1F79A5
RGBrgb(31, 121, 165)
HSLhsl(200, 68%, 38%)
HSVhsv(200, 81%, 65%)
CMYKcmyk(81.2%, 26.7%, 0%, 35.3%)
CIE-LABlab(47.86, -9.98, -30.79)
CIE-LCHlch(47.86, 32.37, 252.04°)
OKLaboklab(54.58% -0.0598 -0.087)
OKLCHoklch(54.58% 0.106 235.5)
XYZxyz(14.1912, 16.6809, 38.0618)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F79A5 #A54B1F
analogous
#1FA58E #1F79A5 #1F36A5
triadic
#1F79A5 #A51F79 #79A51F
tetradic
#1F79A5 #8E1FA5 #A54B1F #36A51F
square
#1F79A5 #8E1FA5 #A54B1F #36A51F
split-complementary
#1F79A5 #A51F36 #A58E1F
monochromatic
#0C2D3E #155371 #1F79A5 #2A9ED7 #5EB6E1

Accessibility & contrast

On white

4.84
#1F79A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#1F79A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F79A5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F79A5#FFFFFF#000000##FFFFFF
##1F79A51.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6478A7
Deuteranopia (green-blind)
#526CA4
Tritanopia (blue-blind)
#008488
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f79a5;
/* rgb */ color: rgb(31, 121, 165);
/* oklch */ color: oklch(54.6% 0.106 235.5);
Tailwind
colors: {
  custom: {
    50: '#719fc0',
    500: '#1f79a5',
    950: '#000000',
  },
}
SCSS
$custom: #1f79a5;
$custom-light: #719fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f79a5",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 165
  },
  "hsl": {
    "h": 199.701,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.54584,
    "c": 0.10553,
    "h": 235.5
  },
  "luminance": 0.16683
}

Semantic roles & 50–950 ramp

primary
#1F79A5
secondary
#C57E5B
accent
#763DEB
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #1F79A5

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

Preview Lab → · Contrast checker → · Palette generator →

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