#1F72A7#1F72A7

#1F72A7 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.0% C 0.113 H 242.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#1F72A7
RGBrgb(31, 114, 167)
HSLhsl(203, 69%, 39%)
HSVhsv(203, 81%, 65%)
CMYKcmyk(81.4%, 31.7%, 0%, 34.5%)
CIE-LABlab(45.79, -5.11, -35.20)
CIE-LCHlch(45.79, 35.57, 261.74°)
OKLaboklab(52.98% -0.0525 -0.0999)
OKLCHoklch(52.98% 0.113 242.3)
XYZxyz(13.5547, 15.1143, 38.7547)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F72A7 #A7541F
analogous
#1FA798 #1F72A7 #1F2EA7
triadic
#1F72A7 #A71F72 #72A71F
tetradic
#1F72A7 #981FA7 #A7541F #2EA71F
square
#1F72A7 #981FA7 #A7541F #2EA71F
split-complementary
#1F72A7 #A71F2E #A7981F
monochromatic
#0C2C40 #154F73 #1F72A7 #2B95D8 #5FAFE1

Accessibility & contrast

On white

5.22
#1F72A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#1F72A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F72A7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F72A7#FFFFFF#000000##FFFFFF
##1F72A71.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5973A9
Deuteranopia (green-blind)
#4667A6
Tritanopia (blue-blind)
#007F85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1f72a7;
/* rgb */ color: rgb(31, 114, 167);
/* oklch */ color: oklch(53.0% 0.113 242.3);
Tailwind
colors: {
  custom: {
    50: '#719ac1',
    500: '#1f72a7',
    950: '#000000',
  },
}
SCSS
$custom: #1f72a7;
$custom-light: #719ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f72a7",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 167
  },
  "hsl": {
    "h": 203.382,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.52976,
    "c": 0.11286,
    "h": 242.3
  },
  "luminance": 0.15116
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F72A7

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

Preview Lab → · Contrast checker → · Palette generator →

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