#1F5B87#1F5B87

#1F5B87 is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.5% C 0.094 H 244.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#1F5B87
RGBrgb(31, 91, 135)
HSLhsl(205, 63%, 33%)
HSVhsv(205, 77%, 53%)
CMYKcmyk(77%, 32.6%, 0%, 47.1%)
CIE-LABlab(36.97, -3.18, -29.98)
CIE-LCHlch(36.97, 30.15, 263.95°)
OKLaboklab(45.47% -0.0405 -0.085)
OKLCHoklch(45.47% 0.094 244.5)
XYZxyz(8.6776, 9.5217, 24.2975)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5B87 #874B1F
analogous
#1F877F #1F5B87 #1F2787
triadic
#1F5B87 #871F5B #5B871F
tetradic
#1F5B87 #7F1F87 #874B1F #27871F
square
#1F5B87 #7F1F87 #874B1F #27871F
split-complementary
#1F5B87 #871F27 #877F1F
monochromatic
#081823 #143955 #1F5B87 #2A7DB9 #4B9BD6

Accessibility & contrast

On white

7.23
#1F5B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#1F5B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5B87
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5B87#FFFFFF#000000##FFFFFF
##1F5B871.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475C89
Deuteranopia (green-blind)
#385386
Tritanopia (blue-blind)
#00666B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f5b87;
/* rgb */ color: rgb(31, 91, 135);
/* oklch */ color: oklch(45.5% 0.094 244.5);
Tailwind
colors: {
  custom: {
    50: '#6a89aa',
    500: '#1f5b87',
    950: '#000000',
  },
}
SCSS
$custom: #1f5b87;
$custom-light: #6a89aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5b87",
  "rgb": {
    "r": 31,
    "g": 91,
    "b": 135
  },
  "hsl": {
    "h": 205.385,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45466,
    "c": 0.09417,
    "h": 244.5
  },
  "luminance": 0.09523
}

Semantic roles & 50–950 ramp

primary
#1F5B87
secondary
#B8784A
accent
#8742E6
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1F5B87

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

Preview Lab → · Contrast checker → · Palette generator →

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