#1F74A6#1F74A6

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

Color values

HEX#1F74A6
RGBrgb(31, 116, 166)
HSLhsl(202, 69%, 39%)
HSVhsv(202, 81%, 65%)
CMYKcmyk(81.3%, 30.1%, 0%, 34.9%)
CIE-LABlab(46.36, -6.68, -33.73)
CIE-LCHlch(46.36, 34.38, 258.80°)
OKLaboklab(53.41% -0.0547 -0.0956)
OKLCHoklch(53.41% 0.11 240.2)
XYZxyz(13.6907, 15.5336, 38.3457)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F74A6 #A6511F
analogous
#1FA694 #1F74A6 #1F30A6
triadic
#1F74A6 #A61F74 #74A61F
tetradic
#1F74A6 #941FA6 #A6511F #30A61F
square
#1F74A6 #941FA6 #A6511F #30A61F
split-complementary
#1F74A6 #A61F30 #A6941F
monochromatic
#0C2C3F #155072 #1F74A6 #2B97D7 #5EB1E1

Accessibility & contrast

On white

5.11
#1F74A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F74A6
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F74A6#FFFFFF#000000##FFFFFF
##1F74A61.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C75A8
Deuteranopia (green-blind)
#4A68A5
Tritanopia (blue-blind)
#008186
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f74a6;
/* rgb */ color: rgb(31, 116, 166);
/* oklch */ color: oklch(53.4% 0.110 240.2);
Tailwind
colors: {
  custom: {
    50: '#719bc0',
    500: '#1f74a6',
    950: '#000000',
  },
}
SCSS
$custom: #1f74a6;
$custom-light: #719bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f74a6",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 166
  },
  "hsl": {
    "h": 202.222,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.53409,
    "c": 0.11011,
    "h": 240.2
  },
  "luminance": 0.15535
}

Semantic roles & 50–950 ramp

primary
#1F74A6
secondary
#C5835B
accent
#7D3CEB
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #1F74A6

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

Preview Lab → · Contrast checker → · Palette generator →

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