#1F5C8C#1F5C8C

#1F5C8C is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.0% C 0.100 H 246.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#1F5C8C
RGBrgb(31, 92, 140)
HSLhsl(206, 64%, 34%)
HSVhsv(206, 78%, 55%)
CMYKcmyk(77.9%, 34.3%, 0%, 45.1%)
CIE-LABlab(37.55, -1.88, -32.11)
CIE-LCHlch(37.55, 32.16, 266.65°)
OKLaboklab(46.01% -0.04 -0.0912)
OKLCHoklch(46.01% 0.1 246.3)
XYZxyz(9.1240, 9.8380, 26.2239)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5C8C #8C4F1F
analogous
#1F8C85 #1F5C8C #1F258C
triadic
#1F5C8C #8C1F5C #5C8C1F
tetradic
#1F5C8C #851F8C #8C4F1F #258C1F
square
#1F5C8C #851F8C #8C4F1F #258C1F
split-complementary
#1F5C8C #8C1F25 #8C851F
monochromatic
#091A28 #143B5A #1F5C8C #2A7DBE #4E9BD8

Accessibility & contrast

On white

7.08
#1F5C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#1F5C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5C8C
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5C8C#FFFFFF#000000##FFFFFF
##1F5C8C1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465E8E
Deuteranopia (green-blind)
#36548B
Tritanopia (blue-blind)
#00686D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f5c8c;
/* rgb */ color: rgb(31, 92, 140);
/* oklch */ color: oklch(46.0% 0.100 246.3);
Tailwind
colors: {
  custom: {
    50: '#6b89ae',
    500: '#1f5c8c',
    950: '#000000',
  },
}
SCSS
$custom: #1f5c8c;
$custom-light: #6b89ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5c8c",
  "rgb": {
    "r": 31,
    "g": 92,
    "b": 140
  },
  "hsl": {
    "h": 206.422,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4601,
    "c": 0.09956,
    "h": 246.3
  },
  "luminance": 0.09839
}

Semantic roles & 50–950 ramp

primary
#1F5C8C
secondary
#BB7D4C
accent
#8A41E7
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #1F5C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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