#1F74A5#1F74A5

#1F74A5 is a mid, moderate cyan. Relative luminance 0.155; OKLCH L 53.4% C 0.109 H 239.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#1F74A5
RGBrgb(31, 116, 165)
HSLhsl(202, 68%, 38%)
HSVhsv(202, 81%, 65%)
CMYKcmyk(81.2%, 29.7%, 0%, 35.3%)
CIE-LABlab(46.31, -7.05, -33.22)
CIE-LCHlch(46.31, 33.96, 258.01°)
OKLaboklab(53.35% -0.055 -0.0941)
OKLCHoklch(53.35% 0.109 239.7)
XYZxyz(13.5993, 15.4970, 37.8645)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F74A5 #A5501F
analogous
#1FA593 #1F74A5 #1F31A5
triadic
#1F74A5 #A51F74 #74A51F
tetradic
#1F74A5 #931FA5 #A5501F #31A51F
square
#1F74A5 #931FA5 #A5501F #31A51F
split-complementary
#1F74A5 #A51F31 #A5931F
monochromatic
#0C2C3E #155071 #1F74A5 #2A98D7 #5EB1E1

Accessibility & contrast

On white

5.12
#1F74A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#1F74A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F74A5
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F74A5#FFFFFF#000000##FFFFFF
##1F74A51.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D74A7
Deuteranopia (green-blind)
#4B68A4
Tritanopia (blue-blind)
#008085
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f74a5;
/* rgb */ color: rgb(31, 116, 165);
/* oklch */ color: oklch(53.4% 0.109 239.7);
Tailwind
colors: {
  custom: {
    50: '#719bc0',
    500: '#1f74a5',
    950: '#000000',
  },
}
SCSS
$custom: #1f74a5;
$custom-light: #719bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f74a5",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 165
  },
  "hsl": {
    "h": 201.94,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.53354,
    "c": 0.109,
    "h": 239.7
  },
  "luminance": 0.15499
}

Semantic roles & 50–950 ramp

primary
#1F74A5
secondary
#C5825B
accent
#7C3DEB
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #1F74A5

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

Preview Lab → · Contrast checker → · Palette generator →

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