#1F70A7#1F70A7

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

Color values

HEX#1F70A7
RGBrgb(31, 112, 167)
HSLhsl(204, 69%, 39%)
HSVhsv(204, 81%, 65%)
CMYKcmyk(81.4%, 32.9%, 0%, 34.5%)
CIE-LABlab(45.18, -3.90, -36.17)
CIE-LCHlch(45.18, 36.38, 263.84°)
OKLaboklab(52.49% -0.0507 -0.1027)
OKLCHoklch(52.49% 0.115 243.7)
XYZxyz(13.3316, 14.6680, 38.6803)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F70A7 #A7561F
analogous
#1FA79A #1F70A7 #1F2CA7
triadic
#1F70A7 #A71F70 #70A71F
tetradic
#1F70A7 #9A1FA7 #A7561F #2CA71F
square
#1F70A7 #9A1FA7 #A7561F #2CA71F
split-complementary
#1F70A7 #A71F2C #A79A1F
monochromatic
#0C2B40 #154D73 #1F70A7 #2B92D8 #5FADE1

Accessibility & contrast

On white

5.34
#1F70A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#1F70A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F70A7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F70A7#FFFFFF#000000##FFFFFF
##1F70A71.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5672A9
Deuteranopia (green-blind)
#4365A6
Tritanopia (blue-blind)
#007D84
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f70a7;
/* rgb */ color: rgb(31, 112, 167);
/* oklch */ color: oklch(52.5% 0.115 243.7);
Tailwind
colors: {
  custom: {
    50: '#7198c1',
    500: '#1f70a7',
    950: '#000000',
  },
}
SCSS
$custom: #1f70a7;
$custom-light: #7198c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f70a7",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 167
  },
  "hsl": {
    "h": 204.265,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.52491,
    "c": 0.11457,
    "h": 243.7
  },
  "luminance": 0.1467
}

Semantic roles & 50–950 ramp

primary
#1F70A7
secondary
#C6875C
accent
#833CEC
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #1F70A7

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

Preview Lab → · Contrast checker → · Palette generator →

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