#1F70A8#1F70A8

#1F70A8 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.5% C 0.116 H 244.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#1F70A8
RGBrgb(31, 112, 168)
HSLhsl(205, 69%, 39%)
HSVhsv(205, 82%, 66%)
CMYKcmyk(81.5%, 33.3%, 0%, 34.1%)
CIE-LABlab(45.23, -3.52, -36.68)
CIE-LCHlch(45.23, 36.84, 264.51°)
OKLaboklab(52.55% -0.0504 -0.1042)
OKLCHoklch(52.55% 0.116 244.2)
XYZxyz(13.4244, 14.7051, 39.1690)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F70A8 #A8571F
analogous
#1FA89C #1F70A8 #1F2BA8
triadic
#1F70A8 #A81F70 #70A81F
tetradic
#1F70A8 #9C1FA8 #A8571F #2BA81F
square
#1F70A8 #9C1FA8 #A8571F #2BA81F
split-complementary
#1F70A8 #A81F2B #A89C1F
monochromatic
#0C2B41 #154E74 #1F70A8 #2C92D8 #60ADE2

Accessibility & contrast

On white

5.33
#1F70A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#1F70A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F70A8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F70A8#FFFFFF#000000##FFFFFF
##1F70A81.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5672AA
Deuteranopia (green-blind)
#4265A7
Tritanopia (blue-blind)
#007E84
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f70a8;
/* rgb */ color: rgb(31, 112, 168);
/* oklch */ color: oklch(52.5% 0.116 244.2);
Tailwind
colors: {
  custom: {
    50: '#7298c2',
    500: '#1f70a8',
    950: '#000000',
  },
}
SCSS
$custom: #1f70a8;
$custom-light: #7298c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f70a8",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 168
  },
  "hsl": {
    "h": 204.526,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.52548,
    "c": 0.11576,
    "h": 244.2
  },
  "luminance": 0.14707
}

Semantic roles & 50–950 ramp

primary
#1F70A8
secondary
#C6885D
accent
#843CEC
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #1F70A8

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

Preview Lab → · Contrast checker → · Palette generator →

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