#1F7299#1F7299

#1F7299 is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.2% C 0.098 H 234.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#1F7299
RGBrgb(31, 114, 153)
HSLhsl(199, 66%, 36%)
HSVhsv(199, 80%, 60%)
CMYKcmyk(79.7%, 25.5%, 0%, 40%)
CIE-LABlab(45.12, -10.32, -28.02)
CIE-LCHlch(45.12, 29.86, 249.78°)
OKLaboklab(52.22% -0.0573 -0.079)
OKLCHoklch(52.22% 0.098 234.1)
XYZxyz(12.3298, 14.6243, 32.3038)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7299 #99461F
analogous
#1F9983 #1F7299 #1F3599
triadic
#1F7299 #991F72 #72991F
tetradic
#1F7299 #831F99 #99461F #35991F
square
#1F7299 #831F99 #99461F #35991F
split-complementary
#1F7299 #991F35 #99831F
monochromatic
#0A2633 #154C66 #1F7299 #2998CC #56B2DD

Accessibility & contrast

On white

5.35
#1F7299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#1F7299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7299
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7299#FFFFFF#000000##FFFFFF
##1F72991.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F719B
Deuteranopia (green-blind)
#4F6698
Tritanopia (blue-blind)
#007C7F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f7299;
/* rgb */ color: rgb(31, 114, 153);
/* oklch */ color: oklch(52.2% 0.098 234.1);
Tailwind
colors: {
  custom: {
    50: '#6f9ab7',
    500: '#1f7299',
    950: '#000000',
  },
}
SCSS
$custom: #1f7299;
$custom-light: #6f9ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7299",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 153
  },
  "hsl": {
    "h": 199.18,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.52219,
    "c": 0.09759,
    "h": 234.1
  },
  "luminance": 0.14626
}

Semantic roles & 50–950 ramp

primary
#1F7299
secondary
#C07654
accent
#753FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7299

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

Preview Lab → · Contrast checker → · Palette generator →

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