#1F74A8#1F74A8

#1F74A8 is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.5% C 0.112 H 241.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#1F74A8
RGBrgb(31, 116, 168)
HSLhsl(203, 69%, 39%)
HSVhsv(203, 82%, 66%)
CMYKcmyk(81.5%, 31%, 0%, 34.1%)
CIE-LABlab(46.46, -5.93, -34.74)
CIE-LCHlch(46.46, 35.24, 260.31°)
OKLaboklab(53.52% -0.0541 -0.0985)
OKLCHoklch(53.52% 0.112 241.2)
XYZxyz(13.8756, 15.6075, 39.3194)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F74A8 #A8531F
analogous
#1FA898 #1F74A8 #1F30A8
triadic
#1F74A8 #A81F74 #74A81F
tetradic
#1F74A8 #981FA8 #A8531F #30A81F
square
#1F74A8 #981FA8 #A8531F #30A81F
split-complementary
#1F74A8 #A81F30 #A8981F
monochromatic
#0C2D41 #155074 #1F74A8 #2C97D8 #60B0E2

Accessibility & contrast

On white

5.09
#1F74A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#1F74A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F74A8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F74A8#FFFFFF#000000##FFFFFF
##1F74A81.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B75AA
Deuteranopia (green-blind)
#4969A7
Tritanopia (blue-blind)
#008186
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f74a8;
/* rgb */ color: rgb(31, 116, 168);
/* oklch */ color: oklch(53.5% 0.112 241.2);
Tailwind
colors: {
  custom: {
    50: '#729bc2',
    500: '#1f74a8',
    950: '#000000',
  },
}
SCSS
$custom: #1f74a8;
$custom-light: #729bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f74a8",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 168
  },
  "hsl": {
    "h": 202.774,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.53519,
    "c": 0.11238,
    "h": 241.2
  },
  "luminance": 0.15609
}

Semantic roles & 50–950 ramp

primary
#1F74A8
secondary
#C6855D
accent
#7F3CEC
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #1F74A8

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

Preview Lab → · Contrast checker → · Palette generator →

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