#1F74A0#1F74A0

#1F74A0 is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 53.1% C 0.104 H 236.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#1F74A0
RGBrgb(31, 116, 160)
HSLhsl(200, 68%, 37%)
HSVhsv(200, 81%, 63%)
CMYKcmyk(80.6%, 27.5%, 0%, 37.3%)
CIE-LABlab(46.07, -8.91, -30.66)
CIE-LCHlch(46.07, 31.93, 253.80°)
OKLaboklab(53.08% -0.0567 -0.0866)
OKLCHoklch(53.08% 0.104 236.8)
XYZxyz(13.1531, 15.3185, 35.5144)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F74A0 #A04B1F
analogous
#1FA08B #1F74A0 #1F34A0
triadic
#1F74A0 #A01F74 #74A01F
tetradic
#1F74A0 #8B1FA0 #A04B1F #34A01F
square
#1F74A0 #8B1FA0 #A04B1F #34A01F
split-complementary
#1F74A0 #A01F34 #A08B1F
monochromatic
#0B2A39 #154F6D #1F74A0 #2999D3 #5AB2DF

Accessibility & contrast

On white

5.17
#1F74A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#1F74A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F74A0
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F74A0#FFFFFF#000000##FFFFFF
##1F74A01.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F74A2
Deuteranopia (green-blind)
#4E689F
Tritanopia (blue-blind)
#007F83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f74a0;
/* rgb */ color: rgb(31, 116, 160);
/* oklch */ color: oklch(53.1% 0.104 236.8);
Tailwind
colors: {
  custom: {
    50: '#709bbc',
    500: '#1f74a0',
    950: '#000000',
  },
}
SCSS
$custom: #1f74a0;
$custom-light: #709bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f74a0",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 160
  },
  "hsl": {
    "h": 200.465,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.53084,
    "c": 0.10357,
    "h": 236.8
  },
  "luminance": 0.1532
}

Semantic roles & 50–950 ramp

primary
#1F74A0
secondary
#C37C58
accent
#783DEA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #1F74A0

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

Preview Lab → · Contrast checker → · Palette generator →

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