#1F7899#1F7899

#1F7899 is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.7% C 0.095 H 228.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#1F7899
RGBrgb(31, 120, 153)
HSLhsl(196, 66%, 36%)
HSVhsv(196, 80%, 60%)
CMYKcmyk(79.7%, 21.6%, 0%, 40%)
CIE-LABlab(47.00, -13.76, -25.08)
CIE-LCHlch(47.00, 28.61, 241.25°)
OKLaboklab(53.73% -0.0632 -0.0705)
OKLCHoklch(53.73% 0.095 228.1)
XYZxyz(13.0290, 16.0226, 32.5368)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7899 #99401F
analogous
#1F997D #1F7899 #1F3B99
triadic
#1F7899 #991F78 #78991F
tetradic
#1F7899 #7D1F99 #99401F #3B991F
square
#1F7899 #7D1F99 #99401F #3B991F
split-complementary
#1F7899 #991F3B #997D1F
monochromatic
#0A2833 #155066 #1F7899 #29A0CC #56B8DD

Accessibility & contrast

On white

4.99
#1F7899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#1F7899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7899
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7899#FFFFFF#000000##FFFFFF
##1F78991.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67769B
Deuteranopia (green-blind)
#566A99
Tritanopia (blue-blind)
#008183
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f7899;
/* rgb */ color: rgb(31, 120, 153);
/* oklch */ color: oklch(53.7% 0.095 228.1);
Tailwind
colors: {
  custom: {
    50: '#6f9fb7',
    500: '#1f7899',
    950: '#000000',
  },
}
SCSS
$custom: #1f7899;
$custom-light: #6f9fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7899",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 153
  },
  "hsl": {
    "h": 196.23,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.53727,
    "c": 0.09467,
    "h": 228.1
  },
  "luminance": 0.16024
}

Semantic roles & 50–950 ramp

primary
#1F7899
secondary
#C07154
accent
#6D3FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #1F7899

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

Preview Lab → · Contrast checker → · Palette generator →

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