#1F5C8B#1F5C8B

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

Color values

HEX#1F5C8B
RGBrgb(31, 92, 139)
HSLhsl(206, 64%, 33%)
HSVhsv(206, 78%, 55%)
CMYKcmyk(77.7%, 33.8%, 0%, 45.5%)
CIE-LABlab(37.50, -2.27, -31.58)
CIE-LCHlch(37.50, 31.67, 265.90°)
OKLaboklab(45.95% -0.0403 -0.0897)
OKLCHoklch(45.95% 0.098 245.8)
XYZxyz(9.0506, 9.8086, 25.8373)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5C8B #8B4E1F
analogous
#1F8B84 #1F5C8B #1F268B
triadic
#1F5C8B #8B1F5C #5C8B1F
tetradic
#1F5C8B #841F8B #8B4E1F #268B1F
square
#1F5C8B #841F8B #8B4E1F #268B1F
split-complementary
#1F5C8B #8B1F26 #8B841F
monochromatic
#091A27 #143B59 #1F5C8B #2A7DBD #4D9BD7

Accessibility & contrast

On white

7.09
#1F5C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#1F5C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5C8B
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5C8B#FFFFFF#000000##FFFFFF
##1F5C8B1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465E8D
Deuteranopia (green-blind)
#37548A
Tritanopia (blue-blind)
#00676D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f5c8b;
/* rgb */ color: rgb(31, 92, 139);
/* oklch */ color: oklch(46.0% 0.098 245.8);
Tailwind
colors: {
  custom: {
    50: '#6b89ad',
    500: '#1f5c8b',
    950: '#000000',
  },
}
SCSS
$custom: #1f5c8b;
$custom-light: #6b89ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5c8b",
  "rgb": {
    "r": 31,
    "g": 92,
    "b": 139
  },
  "hsl": {
    "h": 206.111,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45951,
    "c": 0.09829,
    "h": 245.8
  },
  "luminance": 0.0981
}

Semantic roles & 50–950 ramp

primary
#1F5C8B
secondary
#BA7C4C
accent
#8941E7
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #1F5C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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