#1F7895#1F7895

#1F7895 is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.5% C 0.091 H 224.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#1F7895
RGBrgb(31, 120, 149)
HSLhsl(195, 66%, 35%)
HSVhsv(195, 79%, 58%)
CMYKcmyk(79.2%, 19.5%, 0%, 41.6%)
CIE-LABlab(46.83, -15.19, -22.99)
CIE-LCHlch(46.83, 27.56, 236.55°)
OKLaboklab(53.53% -0.0647 -0.0645)
OKLCHoklch(53.53% 0.091 224.9)
XYZxyz(12.7041, 15.8926, 30.8260)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7895 #953C1F
analogous
#1F9577 #1F7895 #1F3D95
triadic
#1F7895 #951F78 #78951F
tetradic
#1F7895 #771F95 #953C1F #3D951F
square
#1F7895 #771F95 #953C1F #3D951F
split-complementary
#1F7895 #951F3D #95771F
monochromatic
#0A2630 #144F62 #1F7895 #2AA1C8 #53BADB

Accessibility & contrast

On white

5.03
#1F7895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#1F7895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7895
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7895#FFFFFF#000000##FFFFFF
##1F78951.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687596
Deuteranopia (green-blind)
#586A95
Tritanopia (blue-blind)
#008181
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f7895;
/* rgb */ color: rgb(31, 120, 149);
/* oklch */ color: oklch(53.5% 0.091 224.9);
Tailwind
colors: {
  custom: {
    50: '#6f9fb4',
    500: '#1f7895',
    950: '#000000',
  },
}
SCSS
$custom: #1f7895;
$custom-light: #6f9fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7895",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 149
  },
  "hsl": {
    "h": 194.746,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.53534,
    "c": 0.09139,
    "h": 224.9
  },
  "luminance": 0.15894
}

Semantic roles & 50–950 ramp

primary
#1F7895
secondary
#BF6C51
accent
#693FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7895

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

Preview Lab → · Contrast checker → · Palette generator →

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