#1F7794#1F7794

#1F7794 is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.2% C 0.091 H 225.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#1F7794
RGBrgb(31, 119, 148)
HSLhsl(195, 65%, 35%)
HSVhsv(195, 79%, 58%)
CMYKcmyk(79.1%, 19.6%, 0%, 42%)
CIE-LABlab(46.47, -14.98, -22.96)
CIE-LCHlch(46.47, 27.41, 236.87°)
OKLaboklab(53.23% -0.0641 -0.0644)
OKLCHoklch(53.23% 0.091 225.1)
XYZxyz(12.5050, 15.6216, 30.3674)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7794 #943C1F
analogous
#1F9477 #1F7794 #1F3C94
triadic
#1F7794 #941F77 #77941F
tetradic
#1F7794 #771F94 #943C1F #3C941F
square
#1F7794 #771F94 #943C1F #3C941F
split-complementary
#1F7794 #941F3C #94771F
monochromatic
#0A262F #144E61 #1F7794 #2AA0C7 #53B9DB

Accessibility & contrast

On white

5.09
#1F7794 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#1F7794 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7794
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7794#FFFFFF#000000##FFFFFF
##1F77941.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677495
Deuteranopia (green-blind)
#576994
Tritanopia (blue-blind)
#008080
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7794;
/* rgb */ color: rgb(31, 119, 148);
/* oklch */ color: oklch(53.2% 0.091 225.1);
Tailwind
colors: {
  custom: {
    50: '#6e9eb3',
    500: '#1f7794',
    950: '#000000',
  },
}
SCSS
$custom: #1f7794;
$custom-light: #6e9eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7794",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 148
  },
  "hsl": {
    "h": 194.872,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.53232,
    "c": 0.09089,
    "h": 225.1
  },
  "luminance": 0.15623
}

Semantic roles & 50–950 ramp

primary
#1F7794
secondary
#BE6C51
accent
#693FE8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7794

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

Preview Lab → · Contrast checker → · Palette generator →

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