#1F89B4#1F89B4

#1F89B4 is a mid, moderate cyan. Relative luminance 0.215; OKLCH L 59.3% C 0.111 H 231.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#1F89B4
RGBrgb(31, 137, 180)
HSLhsl(197, 71%, 41%)
HSVhsv(197, 83%, 71%)
CMYKcmyk(82.8%, 23.9%, 0%, 29.4%)
CIE-LABlab(53.47, -13.65, -30.71)
CIE-LCHlch(53.47, 33.61, 246.04°)
OKLaboklab(59.28% -0.0695 -0.0866)
OKLCHoklch(59.28% 0.111 231.2)
XYZxyz(17.7456, 21.4757, 46.3811)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F89B4 #B44A1F
analogous
#1FB495 #1F89B4 #1F3FB4
triadic
#1F89B4 #B41F89 #89B41F
tetradic
#1F89B4 #951FB4 #B44A1F #3FB41F
square
#1F89B4 #951FB4 #B44A1F #3FB41F
split-complementary
#1F89B4 #B41F3F #B4951F
monochromatic
#0D3A4C #166180 #1F89B4 #34ACDC #68C1E5

Accessibility & contrast

On white

3.97
#1F89B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#1F89B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F89B4
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F89B4#FFFFFF#000000##000000
##1F89B41.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7387B6
Deuteranopia (green-blind)
#607AB3
Tritanopia (blue-blind)
#009597
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #1f89b4;
/* rgb */ color: rgb(31, 137, 180);
/* oklch */ color: oklch(59.3% 0.111 231.2);
Tailwind
colors: {
  custom: {
    50: '#75abca',
    500: '#1f89b4',
    950: '#000000',
  },
}
SCSS
$custom: #1f89b4;
$custom-light: #75abca;
$custom-dark: #000000;
JSON
{
  "hex": "#1f89b4",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 180
  },
  "hsl": {
    "h": 197.315,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.59282,
    "c": 0.11104,
    "h": 231.2
  },
  "luminance": 0.21478
}

Semantic roles & 50–950 ramp

primary
#1F89B4
secondary
#CB8264
accent
#6E3AED
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #1F89B4

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

Preview Lab → · Contrast checker → · Palette generator →

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