#1F7995#1F7995

#1F7995 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.8% C 0.091 H 223.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#1F7995
RGBrgb(31, 121, 149)
HSLhsl(194, 66%, 35%)
HSVhsv(194, 79%, 58%)
CMYKcmyk(79.2%, 18.8%, 0%, 41.6%)
CIE-LABlab(47.15, -15.75, -22.50)
CIE-LCHlch(47.15, 27.46, 235.02°)
OKLaboklab(53.79% -0.0658 -0.0631)
OKLCHoklch(53.79% 0.091 223.8)
XYZxyz(12.8250, 16.1344, 30.8663)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7995 #953B1F
analogous
#1F9576 #1F7995 #1F3E95
triadic
#1F7995 #951F79 #79951F
tetradic
#1F7995 #761F95 #953B1F #3E951F
square
#1F7995 #761F95 #953B1F #3E951F
split-complementary
#1F7995 #951F3E #95761F
monochromatic
#0A2730 #145062 #1F7995 #2AA2C8 #53BBDB

Accessibility & contrast

On white

4.97
#1F7995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#1F7995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7995
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7995#FFFFFF#000000##FFFFFF
##1F79951.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697696
Deuteranopia (green-blind)
#5A6B95
Tritanopia (blue-blind)
#008182
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f7995;
/* rgb */ color: rgb(31, 121, 149);
/* oklch */ color: oklch(53.8% 0.091 223.8);
Tailwind
colors: {
  custom: {
    50: '#6f9fb4',
    500: '#1f7995',
    950: '#000000',
  },
}
SCSS
$custom: #1f7995;
$custom-light: #6f9fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7995",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 149
  },
  "hsl": {
    "h": 194.237,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.53788,
    "c": 0.09112,
    "h": 223.8
  },
  "luminance": 0.16136
}

Semantic roles & 50–950 ramp

primary
#1F7995
secondary
#BF6B51
accent
#673FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7995

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

Preview Lab → · Contrast checker → · Palette generator →

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