#1F7399#1F7399

#1F7399 is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.5% C 0.097 H 233.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#1F7399
RGBrgb(31, 115, 153)
HSLhsl(199, 66%, 36%)
HSVhsv(199, 80%, 60%)
CMYKcmyk(79.7%, 24.8%, 0%, 40%)
CIE-LABlab(45.43, -10.90, -27.53)
CIE-LCHlch(45.43, 29.61, 248.40°)
OKLaboklab(52.47% -0.0582 -0.0776)
OKLCHoklch(52.47% 0.097 233.1)
XYZxyz(12.4433, 14.8512, 32.3416)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7399 #99451F
analogous
#1F9982 #1F7399 #1F3699
triadic
#1F7399 #991F73 #73991F
tetradic
#1F7399 #821F99 #99451F #36991F
square
#1F7399 #821F99 #99451F #36991F
split-complementary
#1F7399 #991F36 #99821F
monochromatic
#0A2633 #154D66 #1F7399 #2999CC #56B3DD

Accessibility & contrast

On white

5.29
#1F7399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#1F7399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7399
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7399#FFFFFF#000000##FFFFFF
##1F73991.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60729B
Deuteranopia (green-blind)
#506698
Tritanopia (blue-blind)
#007D80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1f7399;
/* rgb */ color: rgb(31, 115, 153);
/* oklch */ color: oklch(52.5% 0.097 233.1);
Tailwind
colors: {
  custom: {
    50: '#6f9bb7',
    500: '#1f7399',
    950: '#000000',
  },
}
SCSS
$custom: #1f7399;
$custom-light: #6f9bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7399",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 153
  },
  "hsl": {
    "h": 198.689,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.52469,
    "c": 0.09702,
    "h": 233.1
  },
  "luminance": 0.14853
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F7399

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

Preview Lab → · Contrast checker → · Palette generator →

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