#1F8EAA#1F8EAA

#1F8EAA is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.0% C 0.102 H 219.8°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#1F8EAA
RGBrgb(31, 142, 170)
HSLhsl(192, 69%, 39%)
HSVhsv(192, 82%, 67%)
CMYKcmyk(81.8%, 16.5%, 0%, 33.3%)
CIE-LABlab(54.59, -19.88, -23.24)
CIE-LCHlch(54.59, 30.58, 229.45°)
OKLaboklab(60.05% -0.0781 -0.0651)
OKLCHoklch(60.05% 0.102 219.8)
XYZxyz(17.4907, 22.5374, 41.4507)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8EAA #AA3B1F
analogous
#1FAA80 #1F8EAA #1F49AA
triadic
#1F8EAA #AA1F8E #8EAA1F
tetradic
#1F8EAA #801FAA #AA3B1F #49AA1F
square
#1F8EAA #801FAA #AA3B1F #49AA1F
split-complementary
#1F8EAA #AA1F49 #AA801F
monochromatic
#0C3842 #166376 #1F8EAA #2DB6D9 #61C8E2

Accessibility & contrast

On white

3.81
#1F8EAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#1F8EAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8EAA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8EAA#FFFFFF#000000##000000
##1F8EAA1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8AAB
Deuteranopia (green-blind)
#6B7DAA
Tritanopia (blue-blind)
#009797
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f8eaa;
/* rgb */ color: rgb(31, 142, 170);
/* oklch */ color: oklch(60.0% 0.102 219.8);
Tailwind
colors: {
  custom: {
    50: '#74afc3',
    500: '#1f8eaa',
    950: '#000000',
  },
}
SCSS
$custom: #1f8eaa;
$custom-light: #74afc3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8eaa",
  "rgb": {
    "r": 31,
    "g": 142,
    "b": 170
  },
  "hsl": {
    "h": 192.086,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60048,
    "c": 0.10164,
    "h": 219.8
  },
  "luminance": 0.2254
}

Semantic roles & 50–950 ramp

primary
#1F8EAA
secondary
#C7735E
accent
#5F3CEC
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #1F8EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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