#1F7397#1F7397

#1F7397 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.4% C 0.095 H 231.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#1F7397
RGBrgb(31, 115, 151)
HSLhsl(198, 66%, 36%)
HSVhsv(198, 79%, 59%)
CMYKcmyk(79.5%, 23.8%, 0%, 40.8%)
CIE-LABlab(45.34, -11.63, -26.49)
CIE-LCHlch(45.34, 28.93, 246.30°)
OKLaboklab(52.37% -0.059 -0.0746)
OKLCHoklch(52.37% 0.095 231.7)
XYZxyz(12.2795, 14.7856, 31.4789)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7397 #97431F
analogous
#1F977F #1F7397 #1F3797
triadic
#1F7397 #971F73 #73971F
tetradic
#1F7397 #7F1F97 #97431F #37971F
square
#1F7397 #7F1F97 #97431F #37971F
split-complementary
#1F7397 #971F37 #977F1F
monochromatic
#0A2631 #154C64 #1F7397 #299ACA #54B3DC

Accessibility & contrast

On white

5.31
#1F7397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#1F7397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7397
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7397#FFFFFF#000000##FFFFFF
##1F73971.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617299
Deuteranopia (green-blind)
#516696
Tritanopia (blue-blind)
#007D7F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f7397;
/* rgb */ color: rgb(31, 115, 151);
/* oklch */ color: oklch(52.4% 0.095 231.7);
Tailwind
colors: {
  custom: {
    50: '#6e9bb5',
    500: '#1f7397',
    950: '#000000',
  },
}
SCSS
$custom: #1f7397;
$custom-light: #6e9bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7397",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 151
  },
  "hsl": {
    "h": 198,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.52367,
    "c": 0.0951,
    "h": 231.7
  },
  "luminance": 0.14787
}

Semantic roles & 50–950 ramp

primary
#1F7397
secondary
#BF7352
accent
#723FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7397

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

Preview Lab → · Contrast checker → · Palette generator →

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