#1F7795#1F7795

#1F7795 is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.3% C 0.092 H 226.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#1F7795
RGBrgb(31, 119, 149)
HSLhsl(195, 66%, 35%)
HSVhsv(195, 79%, 58%)
CMYKcmyk(79.2%, 20.1%, 0%, 41.6%)
CIE-LABlab(46.52, -14.63, -23.48)
CIE-LCHlch(46.52, 27.66, 238.08°)
OKLaboklab(53.28% -0.0637 -0.0659)
OKLCHoklch(53.28% 0.092 226)
XYZxyz(12.5845, 15.6534, 30.7861)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7795 #953D1F
analogous
#1F9578 #1F7795 #1F3C95
triadic
#1F7795 #951F77 #77951F
tetradic
#1F7795 #781F95 #953D1F #3C951F
square
#1F7795 #781F95 #953D1F #3C951F
split-complementary
#1F7795 #951F3C #95781F
monochromatic
#0A2630 #144F62 #1F7795 #2A9FC8 #53B9DB

Accessibility & contrast

On white

5.08
#1F7795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#1F7795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7795
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7795#FFFFFF#000000##FFFFFF
##1F77951.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677597
Deuteranopia (green-blind)
#576995
Tritanopia (blue-blind)
#008081
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7795;
/* rgb */ color: rgb(31, 119, 149);
/* oklch */ color: oklch(53.3% 0.092 226.0);
Tailwind
colors: {
  custom: {
    50: '#6e9eb4',
    500: '#1f7795',
    950: '#000000',
  },
}
SCSS
$custom: #1f7795;
$custom-light: #6e9eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7795",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 149
  },
  "hsl": {
    "h": 195.254,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5328,
    "c": 0.09168,
    "h": 226
  },
  "luminance": 0.15655
}

Semantic roles & 50–950 ramp

primary
#1F7795
secondary
#BF6D51
accent
#6A3FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7795

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

Preview Lab → · Contrast checker → · Palette generator →

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