#1F5C87#1F5C87

#1F5C87 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 45.7% C 0.093 H 243.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#1F5C87
RGBrgb(31, 92, 135)
HSLhsl(205, 63%, 33%)
HSVhsv(205, 77%, 53%)
CMYKcmyk(77%, 31.9%, 0%, 47.1%)
CIE-LABlab(37.29, -3.80, -29.48)
CIE-LCHlch(37.29, 29.73, 262.65°)
OKLaboklab(45.72% -0.0415 -0.0835)
OKLCHoklch(45.72% 0.093 243.6)
XYZxyz(8.7637, 9.6939, 24.3262)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5C87 #874A1F
analogous
#1F877E #1F5C87 #1F2887
triadic
#1F5C87 #871F5C #5C871F
tetradic
#1F5C87 #7E1F87 #874A1F #28871F
square
#1F5C87 #7E1F87 #874A1F #28871F
split-complementary
#1F5C87 #871F28 #877E1F
monochromatic
#081823 #143A55 #1F5C87 #2A7EB9 #4B9CD6

Accessibility & contrast

On white

7.15
#1F5C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#1F5C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5C87
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5C87#FFFFFF#000000##FFFFFF
##1F5C871.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485D89
Deuteranopia (green-blind)
#3A5386
Tritanopia (blue-blind)
#00676B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f5c87;
/* rgb */ color: rgb(31, 92, 135);
/* oklch */ color: oklch(45.7% 0.093 243.6);
Tailwind
colors: {
  custom: {
    50: '#6a89aa',
    500: '#1f5c87',
    950: '#000000',
  },
}
SCSS
$custom: #1f5c87;
$custom-light: #6a89aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5c87",
  "rgb": {
    "r": 31,
    "g": 92,
    "b": 135
  },
  "hsl": {
    "h": 204.808,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45717,
    "c": 0.09329,
    "h": 243.6
  },
  "luminance": 0.09695
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F5C87

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

Preview Lab → · Contrast checker → · Palette generator →

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