#1F5A86#1F5A86

#1F5A86 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.2% C 0.094 H 244.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#1F5A86
RGBrgb(31, 90, 134)
HSLhsl(206, 62%, 32%)
HSVhsv(206, 77%, 53%)
CMYKcmyk(76.9%, 32.8%, 0%, 47.5%)
CIE-LABlab(36.60, -2.93, -29.95)
CIE-LCHlch(36.60, 30.10, 264.41°)
OKLaboklab(45.16% -0.0398 -0.0849)
OKLCHoklch(45.16% 0.094 244.9)
XYZxyz(8.5227, 9.3239, 23.9002)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5A86 #864B1F
analogous
#1F867E #1F5A86 #1F2786
triadic
#1F5A86 #861F5A #5A861F
tetradic
#1F5A86 #7E1F86 #864B1F #27861F
square
#1F5A86 #7E1F86 #864B1F #27861F
split-complementary
#1F5A86 #861F27 #867E1F
monochromatic
#081723 #143954 #1F5A86 #2A7BB8 #4A9AD5

Accessibility & contrast

On white

7.33
#1F5A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#1F5A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5A86
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5A86#FFFFFF#000000##FFFFFF
##1F5A861.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465B88
Deuteranopia (green-blind)
#375285
Tritanopia (blue-blind)
#00656A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f5a86;
/* rgb */ color: rgb(31, 90, 134);
/* oklch */ color: oklch(45.2% 0.094 244.9);
Tailwind
colors: {
  custom: {
    50: '#6a88a9',
    500: '#1f5a86',
    950: '#000000',
  },
}
SCSS
$custom: #1f5a86;
$custom-light: #6a88a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5a86",
  "rgb": {
    "r": 31,
    "g": 90,
    "b": 134
  },
  "hsl": {
    "h": 205.631,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45157,
    "c": 0.09381,
    "h": 244.9
  },
  "luminance": 0.09325
}

Semantic roles & 50–950 ramp

primary
#1F5A86
secondary
#B87849
accent
#8842E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1F5A86

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

Preview Lab → · Contrast checker → · Palette generator →

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