#1F75A8#1F75A8

#1F75A8 is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.8% C 0.112 H 240.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#1F75A8
RGBrgb(31, 117, 168)
HSLhsl(202, 69%, 39%)
HSVhsv(202, 82%, 66%)
CMYKcmyk(81.5%, 30.4%, 0%, 34.1%)
CIE-LABlab(46.76, -6.53, -34.26)
CIE-LCHlch(46.76, 34.87, 259.22°)
OKLaboklab(53.76% -0.055 -0.0971)
OKLCHoklch(53.76% 0.112 240.5)
XYZxyz(13.9915, 15.8393, 39.3581)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F75A8 #A8521F
analogous
#1FA897 #1F75A8 #1F31A8
triadic
#1F75A8 #A81F75 #75A81F
tetradic
#1F75A8 #971FA8 #A8521F #31A81F
square
#1F75A8 #971FA8 #A8521F #31A81F
split-complementary
#1F75A8 #A81F31 #A8971F
monochromatic
#0C2D41 #155174 #1F75A8 #2C98D8 #60B1E2

Accessibility & contrast

On white

5.04
#1F75A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#1F75A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F75A8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F75A8#FFFFFF#000000##FFFFFF
##1F75A81.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D76AA
Deuteranopia (green-blind)
#4A69A7
Tritanopia (blue-blind)
#008287
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f75a8;
/* rgb */ color: rgb(31, 117, 168);
/* oklch */ color: oklch(53.8% 0.112 240.5);
Tailwind
colors: {
  custom: {
    50: '#729cc2',
    500: '#1f75a8',
    950: '#000000',
  },
}
SCSS
$custom: #1f75a8;
$custom-light: #729cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f75a8",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 168
  },
  "hsl": {
    "h": 202.336,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.53763,
    "c": 0.11159,
    "h": 240.5
  },
  "luminance": 0.15841
}

Semantic roles & 50–950 ramp

primary
#1F75A8
secondary
#C6845D
accent
#7D3CEC
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #1F75A8

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

Preview Lab → · Contrast checker → · Palette generator →

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