#1F73A8#1F73A8

#1F73A8 is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.3% C 0.113 H 242.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#1F73A8
RGBrgb(31, 115, 168)
HSLhsl(203, 69%, 39%)
HSVhsv(203, 82%, 66%)
CMYKcmyk(81.5%, 31.5%, 0%, 34.1%)
CIE-LABlab(46.15, -5.33, -35.22)
CIE-LCHlch(46.15, 35.63, 261.39°)
OKLaboklab(53.28% -0.0531 -0.0999)
OKLCHoklch(53.28% 0.113 242)
XYZxyz(13.7609, 15.3782, 39.2812)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F73A8 #A8541F
analogous
#1FA899 #1F73A8 #1F2EA8
triadic
#1F73A8 #A81F73 #73A81F
tetradic
#1F73A8 #991FA8 #A8541F #2EA81F
square
#1F73A8 #991FA8 #A8541F #2EA81F
split-complementary
#1F73A8 #A81F2E #A8991F
monochromatic
#0C2C41 #155074 #1F73A8 #2C96D8 #60AFE2

Accessibility & contrast

On white

5.15
#1F73A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#1F73A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F73A8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F73A8#FFFFFF#000000##FFFFFF
##1F73A81.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A74AA
Deuteranopia (green-blind)
#4768A7
Tritanopia (blue-blind)
#008086
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f73a8;
/* rgb */ color: rgb(31, 115, 168);
/* oklch */ color: oklch(53.3% 0.113 242.0);
Tailwind
colors: {
  custom: {
    50: '#729bc2',
    500: '#1f73a8',
    950: '#000000',
  },
}
SCSS
$custom: #1f73a8;
$custom-light: #729bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f73a8",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 168
  },
  "hsl": {
    "h": 203.212,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.53276,
    "c": 0.11319,
    "h": 242
  },
  "luminance": 0.1538
}

Semantic roles & 50–950 ramp

primary
#1F73A8
secondary
#C6855D
accent
#803CEC
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #1F73A8

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

Preview Lab → · Contrast checker → · Palette generator →

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