#1F7097#1F7097

#1F7097 is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 51.6% C 0.097 H 234.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#1F7097
RGBrgb(31, 112, 151)
HSLhsl(200, 66%, 36%)
HSVhsv(200, 79%, 59%)
CMYKcmyk(79.5%, 25.8%, 0%, 40.8%)
CIE-LABlab(44.39, -9.88, -27.96)
CIE-LCHlch(44.39, 29.66, 250.53°)
OKLaboklab(51.61% -0.056 -0.0789)
OKLCHoklch(51.61% 0.097 234.6)
XYZxyz(11.9429, 14.1126, 31.3667)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7097 #97461F
analogous
#1F9782 #1F7097 #1F3497
triadic
#1F7097 #971F70 #70971F
tetradic
#1F7097 #821F97 #97461F #34971F
square
#1F7097 #821F97 #97461F #34971F
split-complementary
#1F7097 #971F34 #97821F
monochromatic
#0A2531 #154A64 #1F7097 #2996CA #54B0DC

Accessibility & contrast

On white

5.49
#1F7097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#1F7097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7097
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7097#FFFFFF#000000##FFFFFF
##1F70971.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6F99
Deuteranopia (green-blind)
#4D6496
Tritanopia (blue-blind)
#007A7D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1f7097;
/* rgb */ color: rgb(31, 112, 151);
/* oklch */ color: oklch(51.6% 0.097 234.6);
Tailwind
colors: {
  custom: {
    50: '#6e99b5',
    500: '#1f7097',
    950: '#000000',
  },
}
SCSS
$custom: #1f7097;
$custom-light: #6e99b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7097",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 151
  },
  "hsl": {
    "h": 199.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.51613,
    "c": 0.09674,
    "h": 234.6
  },
  "luminance": 0.14114
}

Semantic roles & 50–950 ramp

primary
#1F7097
secondary
#BF7652
accent
#763FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080D11
muted
#7B7E80

Preview Lab

Preview with #1F7097

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

Preview Lab → · Contrast checker → · Palette generator →

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