#1F74A7#1F74A7

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

Color values

HEX#1F74A7
RGBrgb(31, 116, 167)
HSLhsl(203, 69%, 39%)
HSVhsv(203, 81%, 65%)
CMYKcmyk(81.4%, 30.5%, 0%, 34.5%)
CIE-LABlab(46.41, -6.30, -34.23)
CIE-LCHlch(46.41, 34.81, 259.57°)
OKLaboklab(53.46% -0.0544 -0.097)
OKLCHoklch(53.46% 0.111 240.7)
XYZxyz(13.7828, 15.5704, 38.8307)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F74A7 #A7521F
analogous
#1FA796 #1F74A7 #1F30A7
triadic
#1F74A7 #A71F74 #74A71F
tetradic
#1F74A7 #961FA7 #A7521F #30A71F
square
#1F74A7 #961FA7 #A7521F #30A71F
split-complementary
#1F74A7 #A71F30 #A7961F
monochromatic
#0C2C40 #155073 #1F74A7 #2B97D8 #5FB0E1

Accessibility & contrast

On white

5.10
#1F74A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#1F74A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F74A7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F74A7#FFFFFF#000000##FFFFFF
##1F74A71.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C75A9
Deuteranopia (green-blind)
#4968A6
Tritanopia (blue-blind)
#008186
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f74a7;
/* rgb */ color: rgb(31, 116, 167);
/* oklch */ color: oklch(53.5% 0.111 240.7);
Tailwind
colors: {
  custom: {
    50: '#729bc1',
    500: '#1f74a7',
    950: '#000000',
  },
}
SCSS
$custom: #1f74a7;
$custom-light: #729bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f74a7",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 167
  },
  "hsl": {
    "h": 202.5,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.53464,
    "c": 0.11124,
    "h": 240.7
  },
  "luminance": 0.15572
}

Semantic roles & 50–950 ramp

primary
#1F74A7
secondary
#C6845C
accent
#7E3CEC
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #1F74A7

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

Preview Lab → · Contrast checker → · Palette generator →

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