#1F8FB1#1F8FB1

#1F8FB1 is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 60.6% C 0.106 H 224.1°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#1F8FB1
RGBrgb(31, 143, 177)
HSLhsl(194, 70%, 41%)
HSVhsv(194, 82%, 69%)
CMYKcmyk(82.5%, 19.2%, 0%, 30.6%)
CIE-LABlab(55.18, -18.00, -26.33)
CIE-LCHlch(55.18, 31.90, 235.64°)
OKLaboklab(60.62% -0.0763 -0.0739)
OKLCHoklch(60.62% 0.106 224.1)
XYZxyz(18.3200, 23.1082, 45.0812)
Luminance0.2311 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8FB1 #B1411F
analogous
#1FB18A #1F8FB1 #1F46B1
triadic
#1F8FB1 #B11F8F #8FB11F
tetradic
#1F8FB1 #8A1FB1 #B1411F #46B11F
square
#1F8FB1 #8A1FB1 #B1411F #46B11F
split-complementary
#1F8FB1 #B11F46 #B18A1F
monochromatic
#0D3B49 #16657D #1F8FB1 #32B4DB #66C7E4

Accessibility & contrast

On white

3.74
#1F8FB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#1F8FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8FB1
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8FB1#FFFFFF#000000##000000
##1F8FB11.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8CB3
Deuteranopia (green-blind)
#697EB1
Tritanopia (blue-blind)
#00999A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f8fb1;
/* rgb */ color: rgb(31, 143, 177);
/* oklch */ color: oklch(60.6% 0.106 224.1);
Tailwind
colors: {
  custom: {
    50: '#75b0c8',
    500: '#1f8fb1',
    950: '#000000',
  },
}
SCSS
$custom: #1f8fb1;
$custom-light: #75b0c8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8fb1",
  "rgb": {
    "r": 31,
    "g": 143,
    "b": 177
  },
  "hsl": {
    "h": 193.973,
    "s": 70.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.60616,
    "c": 0.10623,
    "h": 224.1
  },
  "luminance": 0.23111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F8FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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