#1F70A6#1F70A6

#1F70A6 is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.4% C 0.113 H 243.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#1F70A6
RGBrgb(31, 112, 166)
HSLhsl(204, 69%, 39%)
HSVhsv(204, 81%, 65%)
CMYKcmyk(81.3%, 32.5%, 0%, 34.9%)
CIE-LABlab(45.12, -4.28, -35.66)
CIE-LCHlch(45.12, 35.92, 263.15°)
OKLaboklab(52.43% -0.051 -0.1013)
OKLCHoklch(52.43% 0.113 243.3)
XYZxyz(13.2395, 14.6312, 38.1953)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F70A6 #A6551F
analogous
#1FA698 #1F70A6 #1F2CA6
triadic
#1F70A6 #A61F70 #70A61F
tetradic
#1F70A6 #981FA6 #A6551F #2CA61F
square
#1F70A6 #981FA6 #A6551F #2CA61F
split-complementary
#1F70A6 #A61F2C #A6981F
monochromatic
#0C2A3F #154D72 #1F70A6 #2B92D7 #5EADE1

Accessibility & contrast

On white

5.35
#1F70A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F70A6
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F70A6#FFFFFF#000000##FFFFFF
##1F70A61.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5772A8
Deuteranopia (green-blind)
#4465A5
Tritanopia (blue-blind)
#007D83
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f70a6;
/* rgb */ color: rgb(31, 112, 166);
/* oklch */ color: oklch(52.4% 0.113 243.3);
Tailwind
colors: {
  custom: {
    50: '#7198c0',
    500: '#1f70a6',
    950: '#000000',
  },
}
SCSS
$custom: #1f70a6;
$custom-light: #7198c0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f70a6",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 166
  },
  "hsl": {
    "h": 204,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.52434,
    "c": 0.11339,
    "h": 243.3
  },
  "luminance": 0.14633
}

Semantic roles & 50–950 ramp

primary
#1F70A6
secondary
#C5865B
accent
#823CEB
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #1F70A6

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

Preview Lab → · Contrast checker → · Palette generator →

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