#1F5C8D#1F5C8D

#1F5C8D is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.1% C 0.101 H 246.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#1F5C8D
RGBrgb(31, 92, 141)
HSLhsl(207, 64%, 34%)
HSVhsv(207, 78%, 55%)
CMYKcmyk(78%, 34.8%, 0%, 44.7%)
CIE-LABlab(37.60, -1.49, -32.63)
CIE-LCHlch(37.60, 32.66, 267.38°)
OKLaboklab(46.07% -0.0397 -0.0927)
OKLCHoklch(46.07% 0.101 246.8)
XYZxyz(9.1981, 9.8676, 26.6140)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5C8D #8D501F
analogous
#1F8D87 #1F5C8D #1F258D
triadic
#1F5C8D #8D1F5C #5C8D1F
tetradic
#1F5C8D #871F8D #8D501F #258D1F
square
#1F5C8D #871F8D #8D501F #258D1F
split-complementary
#1F5C8D #8D1F25 #8D871F
monochromatic
#091B29 #143B5B #1F5C8D #2A7DBF #4E9BD8

Accessibility & contrast

On white

7.06
#1F5C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F5C8D
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5C8D#FFFFFF#000000##FFFFFF
##1F5C8D1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455E8F
Deuteranopia (green-blind)
#36548C
Tritanopia (blue-blind)
#00686E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f5c8d;
/* rgb */ color: rgb(31, 92, 141);
/* oklch */ color: oklch(46.1% 0.101 246.8);
Tailwind
colors: {
  custom: {
    50: '#6c89ae',
    500: '#1f5c8d',
    950: '#000000',
  },
}
SCSS
$custom: #1f5c8d;
$custom-light: #6c89ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5c8d",
  "rgb": {
    "r": 31,
    "g": 92,
    "b": 141
  },
  "hsl": {
    "h": 206.727,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4607,
    "c": 0.10084,
    "h": 246.8
  },
  "luminance": 0.09869
}

Semantic roles & 50–950 ramp

primary
#1F5C8D
secondary
#BB7E4D
accent
#8B41E7
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #1F5C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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