#1F72A5#1F72A5

#1F72A5 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.9% C 0.111 H 241.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#1F72A5
RGBrgb(31, 114, 165)
HSLhsl(203, 68%, 38%)
HSVhsv(203, 81%, 65%)
CMYKcmyk(81.2%, 30.9%, 0%, 35.3%)
CIE-LABlab(45.69, -5.86, -34.19)
CIE-LCHlch(45.69, 34.69, 260.27°)
OKLaboklab(52.86% -0.0532 -0.0969)
OKLCHoklch(52.86% 0.111 241.3)
XYZxyz(13.3712, 15.0409, 37.7885)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F72A5 #A5521F
analogous
#1FA595 #1F72A5 #1F2FA5
triadic
#1F72A5 #A51F72 #72A51F
tetradic
#1F72A5 #951FA5 #A5521F #2FA51F
square
#1F72A5 #951FA5 #A5521F #2FA51F
split-complementary
#1F72A5 #A51F2F #A5951F
monochromatic
#0C2B3E #154E71 #1F72A5 #2A95D7 #5EAFE1

Accessibility & contrast

On white

5.24
#1F72A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#1F72A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F72A5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F72A5#FFFFFF#000000##FFFFFF
##1F72A51.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A73A7
Deuteranopia (green-blind)
#4867A4
Tritanopia (blue-blind)
#007F84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1f72a5;
/* rgb */ color: rgb(31, 114, 165);
/* oklch */ color: oklch(52.9% 0.111 241.3);
Tailwind
colors: {
  custom: {
    50: '#719ac0',
    500: '#1f72a5',
    950: '#000000',
  },
}
SCSS
$custom: #1f72a5;
$custom-light: #719ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f72a5",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 165
  },
  "hsl": {
    "h": 202.836,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.52864,
    "c": 0.11056,
    "h": 241.3
  },
  "luminance": 0.15043
}

Semantic roles & 50–950 ramp

primary
#1F72A5
secondary
#C5835B
accent
#7F3DEB
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #1F72A5

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

Preview Lab → · Contrast checker → · Palette generator →

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