#1F7199#1F7199

#1F7199 is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 52.0% C 0.098 H 235.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#1F7199
RGBrgb(31, 113, 153)
HSLhsl(200, 66%, 36%)
HSVhsv(200, 80%, 60%)
CMYKcmyk(79.7%, 26.1%, 0%, 40%)
CIE-LABlab(44.80, -9.73, -28.51)
CIE-LCHlch(44.80, 30.13, 251.15°)
OKLaboklab(51.97% -0.0563 -0.0804)
OKLCHoklch(51.97% 0.098 235)
XYZxyz(12.2177, 14.4000, 32.2664)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7199 #99471F
analogous
#1F9984 #1F7199 #1F3499
triadic
#1F7199 #991F71 #71991F
tetradic
#1F7199 #841F99 #99471F #34991F
square
#1F7199 #841F99 #99471F #34991F
split-complementary
#1F7199 #991F34 #99841F
monochromatic
#0A2633 #154B66 #1F7199 #2997CC #56B0DD

Accessibility & contrast

On white

5.41
#1F7199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#1F7199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7199
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7199#FFFFFF#000000##FFFFFF
##1F71991.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D709B
Deuteranopia (green-blind)
#4D6598
Tritanopia (blue-blind)
#007B7F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f7199;
/* rgb */ color: rgb(31, 113, 153);
/* oklch */ color: oklch(52.0% 0.098 235.0);
Tailwind
colors: {
  custom: {
    50: '#6f99b7',
    500: '#1f7199',
    950: '#000000',
  },
}
SCSS
$custom: #1f7199;
$custom-light: #6f99b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7199",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 153
  },
  "hsl": {
    "h": 199.672,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.51968,
    "c": 0.09818,
    "h": 235
  },
  "luminance": 0.14401
}

Semantic roles & 50–950 ramp

primary
#1F7199
secondary
#C07754
accent
#773FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7199

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

Preview Lab → · Contrast checker → · Palette generator →

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