#1F74A9#1F74A9

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

Color values

HEX#1F74A9
RGBrgb(31, 116, 169)
HSLhsl(203, 69%, 39%)
HSVhsv(203, 82%, 66%)
CMYKcmyk(81.7%, 31.4%, 0%, 33.7%)
CIE-LABlab(46.51, -5.55, -35.25)
CIE-LCHlch(46.51, 35.68, 261.04°)
OKLaboklab(53.58% -0.0537 -0.1)
OKLCHoklch(53.58% 0.114 241.7)
XYZxyz(13.9691, 15.6449, 39.8120)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F74A9 #A9541F
analogous
#1FA999 #1F74A9 #1F2FA9
triadic
#1F74A9 #A91F74 #74A91F
tetradic
#1F74A9 #991FA9 #A9541F #2FA91F
square
#1F74A9 #991FA9 #A9541F #2FA91F
split-complementary
#1F74A9 #A91F2F #A9991F
monochromatic
#0C2D42 #165175 #1F74A9 #2D97D8 #60B0E2

Accessibility & contrast

On white

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

On black

4.13
#1F74A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F74A9#FFFFFF#000000##FFFFFF
##1F74A91.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B75AB
Deuteranopia (green-blind)
#4869A8
Tritanopia (blue-blind)
#008187
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f74a9;
/* rgb */ color: rgb(31, 116, 169);
/* oklch */ color: oklch(53.6% 0.114 241.7);
Tailwind
colors: {
  custom: {
    50: '#729bc3',
    500: '#1f74a9',
    950: '#000000',
  },
}
SCSS
$custom: #1f74a9;
$custom-light: #729bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f74a9",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 169
  },
  "hsl": {
    "h": 203.043,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.53575,
    "c": 0.11352,
    "h": 241.7
  },
  "luminance": 0.15647
}

Semantic roles & 50–950 ramp

primary
#1F74A9
secondary
#C7865D
accent
#803CEC
background
#F7F9FC
surface
#EDF2F8
border
#C8CCD1
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #1F74A9

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

Preview Lab → · Contrast checker → · Palette generator →

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