#1F5D89#1F5D89

#1F5D89 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.1% C 0.095 H 243.8°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#1F5D89
RGBrgb(31, 93, 137)
HSLhsl(205, 63%, 33%)
HSVhsv(205, 77%, 54%)
CMYKcmyk(77.4%, 32.1%, 0%, 46.3%)
CIE-LABlab(37.71, -3.66, -30.04)
CIE-LCHlch(37.71, 30.26, 263.05°)
OKLaboklab(46.08% -0.0419 -0.0851)
OKLCHoklch(46.08% 0.095 243.8)
XYZxyz(8.9930, 9.9251, 25.1038)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D89 #894B1F
analogous
#1F8980 #1F5D89 #1F2889
triadic
#1F5D89 #891F5D #5D891F
tetradic
#1F5D89 #801F89 #894B1F #28891F
square
#1F5D89 #801F89 #894B1F #28891F
split-complementary
#1F5D89 #891F28 #89801F
monochromatic
#081925 #143B57 #1F5D89 #2A7FBB #4C9DD6

Accessibility & contrast

On white

7.03
#1F5D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#1F5D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5D89
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D89#FFFFFF#000000##FFFFFF
##1F5D891.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495E8B
Deuteranopia (green-blind)
#3A5488
Tritanopia (blue-blind)
#00686D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f5d89;
/* rgb */ color: rgb(31, 93, 137);
/* oklch */ color: oklch(46.1% 0.095 243.8);
Tailwind
colors: {
  custom: {
    50: '#6b8aab',
    500: '#1f5d89',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d89;
$custom-light: #6b8aab;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d89",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 137
  },
  "hsl": {
    "h": 204.906,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.46083,
    "c": 0.09489,
    "h": 243.8
  },
  "luminance": 0.09926
}

Semantic roles & 50–950 ramp

primary
#1F5D89
secondary
#B9794B
accent
#8642E6
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1F5D89

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

Preview Lab → · Contrast checker → · Palette generator →

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