#1F5585#1F5585

#1F5585 is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 43.9% C 0.097 H 248.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#1F5585
RGBrgb(31, 85, 133)
HSLhsl(208, 62%, 32%)
HSVhsv(208, 77%, 52%)
CMYKcmyk(76.7%, 36.1%, 0%, 47.8%)
CIE-LABlab(34.96, -0.14, -31.93)
CIE-LCHlch(34.96, 31.93, 269.75°)
OKLaboklab(43.85% -0.0351 -0.0908)
OKLCHoklch(43.85% 0.097 248.8)
XYZxyz(8.0456, 8.4808, 23.3987)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5585 #854F1F
analogous
#1F8582 #1F5585 #1F2285
triadic
#1F5585 #851F55 #55851F
tetradic
#1F5585 #821F85 #854F1F #22851F
square
#1F5585 #821F85 #854F1F #22851F
split-complementary
#1F5585 #851F22 #85821F
monochromatic
#081622 #133553 #1F5585 #2B75B7 #4A93D5

Accessibility & contrast

On white

7.79
#1F5585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#1F5585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5585
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5585#FFFFFF#000000##FFFFFF
##1F55851.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5787
Deuteranopia (green-blind)
#304E84
Tritanopia (blue-blind)
#006066
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f5585;
/* rgb */ color: rgb(31, 85, 133);
/* oklch */ color: oklch(43.9% 0.097 248.8);
Tailwind
colors: {
  custom: {
    50: '#6a84a9',
    500: '#1f5585',
    950: '#000000',
  },
}
SCSS
$custom: #1f5585;
$custom-light: #6a84a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5585",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 133
  },
  "hsl": {
    "h": 208.235,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43852,
    "c": 0.09732,
    "h": 248.8
  },
  "luminance": 0.08482
}

Semantic roles & 50–950 ramp

primary
#1F5585
secondary
#B77D49
accent
#8F43E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1F5585

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

Preview Lab → · Contrast checker → · Palette generator →

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