#1F7396#1F7396

#1F7396 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.3% C 0.094 H 230.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#1F7396
RGBrgb(31, 115, 150)
HSLhsl(198, 66%, 35%)
HSVhsv(198, 79%, 59%)
CMYKcmyk(79.3%, 23.3%, 0%, 41.2%)
CIE-LABlab(45.29, -11.99, -25.97)
CIE-LCHlch(45.29, 28.60, 245.21°)
OKLaboklab(52.32% -0.0594 -0.0731)
OKLCHoklch(52.32% 0.094 230.9)
XYZxyz(12.1986, 14.7533, 31.0530)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7396 #96421F
analogous
#1F967D #1F7396 #1F3796
triadic
#1F7396 #961F73 #73961F
tetradic
#1F7396 #7D1F96 #96421F #37961F
square
#1F7396 #7D1F96 #96421F #37961F
split-complementary
#1F7396 #961F37 #967D1F
monochromatic
#0A2531 #154C63 #1F7396 #299AC9 #54B4DC

Accessibility & contrast

On white

5.32
#1F7396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#1F7396 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7396
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7396#FFFFFF#000000##FFFFFF
##1F73961.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f7396;
/* rgb */ color: rgb(31, 115, 150);
/* oklch */ color: oklch(52.3% 0.094 230.9);
Tailwind
colors: {
  custom: {
    50: '#6e9bb5',
    500: '#1f7396',
    950: '#000000',
  },
}
SCSS
$custom: #1f7396;
$custom-light: #6e9bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7396",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 150
  },
  "hsl": {
    "h": 197.647,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.52317,
    "c": 0.09415,
    "h": 230.9
  },
  "luminance": 0.14755
}

Semantic roles & 50–950 ramp

primary
#1F7396
secondary
#BF7252
accent
#713FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7396

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

Preview Lab → · Contrast checker → · Palette generator →

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