#1F72A8#1F72A8

#1F72A8 is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.0% C 0.114 H 242.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#1F72A8
RGBrgb(31, 114, 168)
HSLhsl(204, 69%, 39%)
HSVhsv(204, 82%, 66%)
CMYKcmyk(81.5%, 32.1%, 0%, 34.1%)
CIE-LABlab(45.84, -4.73, -35.71)
CIE-LCHlch(45.84, 36.02, 262.45°)
OKLaboklab(53.03% -0.0522 -0.1014)
OKLCHoklch(53.03% 0.114 242.7)
XYZxyz(13.6475, 15.1514, 39.2434)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F72A8 #A8551F
analogous
#1FA89A #1F72A8 #1F2DA8
triadic
#1F72A8 #A81F72 #72A81F
tetradic
#1F72A8 #9A1FA8 #A8551F #2DA81F
square
#1F72A8 #9A1FA8 #A8551F #2DA81F
split-complementary
#1F72A8 #A81F2D #A89A1F
monochromatic
#0C2C41 #154F74 #1F72A8 #2C94D8 #60AEE2

Accessibility & contrast

On white

5.21
#1F72A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#1F72A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F72A8
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F72A8#FFFFFF#000000##FFFFFF
##1F72A81.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5973AA
Deuteranopia (green-blind)
#4667A7
Tritanopia (blue-blind)
#007F85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f72a8;
/* rgb */ color: rgb(31, 114, 168);
/* oklch */ color: oklch(53.0% 0.114 242.7);
Tailwind
colors: {
  custom: {
    50: '#729ac2',
    500: '#1f72a8',
    950: '#000000',
  },
}
SCSS
$custom: #1f72a8;
$custom-light: #729ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f72a8",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 168
  },
  "hsl": {
    "h": 203.65,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.53033,
    "c": 0.11403,
    "h": 242.7
  },
  "luminance": 0.15153
}

Semantic roles & 50–950 ramp

primary
#1F72A8
secondary
#C6865D
accent
#813CEC
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #1F72A8

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

Preview Lab → · Contrast checker → · Palette generator →

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