#1F8EAF#1F8EAF

#1F8EAF is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.3% C 0.105 H 223.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#1F8EAF
RGBrgb(31, 142, 175)
HSLhsl(194, 70%, 40%)
HSVhsv(194, 82%, 69%)
CMYKcmyk(82.3%, 18.9%, 0%, 31.4%)
CIE-LABlab(54.79, -18.16, -25.79)
CIE-LCHlch(54.79, 31.54, 234.86°)
OKLaboklab(60.28% -0.0761 -0.0724)
OKLCHoklch(60.28% 0.105 223.6)
XYZxyz(17.9727, 22.7302, 43.9892)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8EAF #AF401F
analogous
#1FAF88 #1F8EAF #1F46AF
triadic
#1F8EAF #AF1F8E #8EAF1F
tetradic
#1F8EAF #881FAF #AF401F #46AF1F
square
#1F8EAF #881FAF #AF401F #46AF1F
split-complementary
#1F8EAF #AF1F46 #AF881F
monochromatic
#0D3A47 #16647B #1F8EAF #31B4DA #65C7E4

Accessibility & contrast

On white

3.79
#1F8EAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#1F8EAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8EAF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8EAF#FFFFFF#000000##000000
##1F8EAF1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8BB1
Deuteranopia (green-blind)
#697DAF
Tritanopia (blue-blind)
#009899
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f8eaf;
/* rgb */ color: rgb(31, 142, 175);
/* oklch */ color: oklch(60.3% 0.105 223.6);
Tailwind
colors: {
  custom: {
    50: '#75afc7',
    500: '#1f8eaf',
    950: '#000000',
  },
}
SCSS
$custom: #1f8eaf;
$custom-light: #75afc7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8eaf",
  "rgb": {
    "r": 31,
    "g": 142,
    "b": 175
  },
  "hsl": {
    "h": 193.75,
    "s": 69.903,
    "l": 40.392
  },
  "oklch": {
    "l": 0.60275,
    "c": 0.10503,
    "h": 223.6
  },
  "luminance": 0.22732
}

Semantic roles & 50–950 ramp

primary
#1F8EAF
secondary
#C97961
accent
#643BED
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #1F8EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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