#1F7196#1F7196

#1F7196 is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 51.8% C 0.095 H 232.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#1F7196
RGBrgb(31, 113, 150)
HSLhsl(199, 66%, 35%)
HSVhsv(199, 79%, 59%)
CMYKcmyk(79.3%, 24.7%, 0%, 41.2%)
CIE-LABlab(44.66, -10.83, -26.95)
CIE-LCHlch(44.66, 29.05, 248.10°)
OKLaboklab(51.81% -0.0574 -0.0759)
OKLCHoklch(51.81% 0.095 232.9)
XYZxyz(11.9730, 14.3021, 30.9778)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7196 #96441F
analogous
#1F967F #1F7196 #1F3696
triadic
#1F7196 #961F71 #71961F
tetradic
#1F7196 #7F1F96 #96441F #36961F
square
#1F7196 #7F1F96 #96441F #36961F
split-complementary
#1F7196 #961F36 #967F1F
monochromatic
#0A2531 #154B63 #1F7196 #2997C9 #54B1DC

Accessibility & contrast

On white

5.44
#1F7196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#1F7196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7196
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7196#FFFFFF#000000##FFFFFF
##1F71961.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7098
Deuteranopia (green-blind)
#4F6595
Tritanopia (blue-blind)
#007B7E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f7196;
/* rgb */ color: rgb(31, 113, 150);
/* oklch */ color: oklch(51.8% 0.095 232.9);
Tailwind
colors: {
  custom: {
    50: '#6e99b5',
    500: '#1f7196',
    950: '#000000',
  },
}
SCSS
$custom: #1f7196;
$custom-light: #6e99b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7196",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 150
  },
  "hsl": {
    "h": 198.655,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.51813,
    "c": 0.09517,
    "h": 232.9
  },
  "luminance": 0.14304
}

Semantic roles & 50–950 ramp

primary
#1F7196
secondary
#BF7452
accent
#743FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7196

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

Preview Lab → · Contrast checker → · Palette generator →

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