#1F5B86#1F5B86

#1F5B86 is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.4% C 0.093 H 243.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#1F5B86
RGBrgb(31, 91, 134)
HSLhsl(205, 62%, 32%)
HSVhsv(205, 77%, 53%)
CMYKcmyk(76.9%, 32.1%, 0%, 47.5%)
CIE-LABlab(36.92, -3.56, -29.45)
CIE-LCHlch(36.92, 29.67, 263.11°)
OKLaboklab(45.41% -0.0409 -0.0835)
OKLCHoklch(45.41% 0.093 243.9)
XYZxyz(8.6076, 9.4937, 23.9285)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5B86 #864A1F
analogous
#1F867E #1F5B86 #1F2786
triadic
#1F5B86 #861F5B #5B861F
tetradic
#1F5B86 #7E1F86 #864A1F #27861F
square
#1F5B86 #7E1F86 #864A1F #27861F
split-complementary
#1F5B86 #861F27 #867E1F
monochromatic
#081723 #143954 #1F5B86 #2A7DB8 #4A9BD5

Accessibility & contrast

On white

7.24
#1F5B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F5B86
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5B86#FFFFFF#000000##FFFFFF
##1F5B861.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475C88
Deuteranopia (green-blind)
#395385
Tritanopia (blue-blind)
#00656A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f5b86;
/* rgb */ color: rgb(31, 91, 134);
/* oklch */ color: oklch(45.4% 0.093 243.9);
Tailwind
colors: {
  custom: {
    50: '#6a89a9',
    500: '#1f5b86',
    950: '#000000',
  },
}
SCSS
$custom: #1f5b86;
$custom-light: #6a89a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5b86",
  "rgb": {
    "r": 31,
    "g": 91,
    "b": 134
  },
  "hsl": {
    "h": 205.049,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45408,
    "c": 0.09293,
    "h": 243.9
  },
  "luminance": 0.09495
}

Semantic roles & 50–950 ramp

primary
#1F5B86
secondary
#B87749
accent
#8642E5
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1F5B86

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

Preview Lab → · Contrast checker → · Palette generator →

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