#1F70A9#1F70A9

#1F70A9 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.6% C 0.117 H 244.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#1F70A9
RGBrgb(31, 112, 169)
HSLhsl(205, 69%, 39%)
HSVhsv(205, 82%, 66%)
CMYKcmyk(81.7%, 33.7%, 0%, 33.7%)
CIE-LABlab(45.28, -3.14, -37.18)
CIE-LCHlch(45.28, 37.31, 265.17°)
OKLaboklab(52.61% -0.0501 -0.1057)
OKLCHoklch(52.61% 0.117 244.6)
XYZxyz(13.5179, 14.7426, 39.6616)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F70A9 #A9581F
analogous
#1FA99D #1F70A9 #1F2BA9
triadic
#1F70A9 #A91F70 #70A91F
tetradic
#1F70A9 #9D1FA9 #A9581F #2BA91F
square
#1F70A9 #9D1FA9 #A9581F #2BA91F
split-complementary
#1F70A9 #A91F2B #A99D1F
monochromatic
#0C2B42 #164E75 #1F70A9 #2D92D8 #60ACE2

Accessibility & contrast

On white

5.32
#1F70A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#1F70A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F70A9
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F70A9#FFFFFF#000000##FFFFFF
##1F70A91.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5572AB
Deuteranopia (green-blind)
#4266A8
Tritanopia (blue-blind)
#007E85
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f70a9;
/* rgb */ color: rgb(31, 112, 169);
/* oklch */ color: oklch(52.6% 0.117 244.6);
Tailwind
colors: {
  custom: {
    50: '#7298c3',
    500: '#1f70a9',
    950: '#000000',
  },
}
SCSS
$custom: #1f70a9;
$custom-light: #7298c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f70a9",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 169
  },
  "hsl": {
    "h": 204.783,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.52606,
    "c": 0.11695,
    "h": 244.6
  },
  "luminance": 0.14744
}

Semantic roles & 50–950 ramp

primary
#1F70A9
secondary
#C7895D
accent
#853CEC
background
#F7F9FC
surface
#EDF2F8
border
#C8CCD1
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #1F70A9

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

Preview Lab → · Contrast checker → · Palette generator →

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