#1F5C8F#1F5C8F

#1F5C8F is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.2% C 0.103 H 247.8°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#1F5C8F
RGBrgb(31, 92, 143)
HSLhsl(207, 64%, 34%)
HSVhsv(207, 78%, 56%)
CMYKcmyk(78.3%, 35.7%, 0%, 43.9%)
CIE-LABlab(37.71, -0.72, -33.67)
CIE-LCHlch(37.71, 33.68, 268.78°)
OKLaboklab(46.19% -0.0391 -0.0957)
OKLCHoklch(46.19% 0.103 247.8)
XYZxyz(9.3483, 9.9277, 27.4048)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5C8F #8F521F
analogous
#1F8F8A #1F5C8F #1F248F
triadic
#1F5C8F #8F1F5C #5C8F1F
tetradic
#1F5C8F #8A1F8F #8F521F #248F1F
square
#1F5C8F #8A1F8F #8F521F #248F1F
split-complementary
#1F5C8F #8F1F24 #8F8A1F
monochromatic
#091B2A #143C5D #1F5C8F #2A7CC1 #4F9AD9

Accessibility & contrast

On white

7.03
#1F5C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#1F5C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5C8F
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5C8F#FFFFFF#000000##FFFFFF
##1F5C8F1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445E91
Deuteranopia (green-blind)
#34548E
Tritanopia (blue-blind)
#00686F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f5c8f;
/* rgb */ color: rgb(31, 92, 143);
/* oklch */ color: oklch(46.2% 0.103 247.8);
Tailwind
colors: {
  custom: {
    50: '#6c89b0',
    500: '#1f5c8f',
    950: '#000000',
  },
}
SCSS
$custom: #1f5c8f;
$custom-light: #6c89b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5c8f",
  "rgb": {
    "r": 31,
    "g": 92,
    "b": 143
  },
  "hsl": {
    "h": 207.321,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46191,
    "c": 0.10341,
    "h": 247.8
  },
  "luminance": 0.09929
}

Semantic roles & 50–950 ramp

primary
#1F5C8F
secondary
#BC804E
accent
#8C40E7
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #1F5C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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