#1F5685#1F5685

#1F5685 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.1% C 0.096 H 248.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#1F5685
RGBrgb(31, 86, 133)
HSLhsl(208, 62%, 32%)
HSVhsv(208, 77%, 52%)
CMYKcmyk(76.7%, 35.3%, 0%, 47.8%)
CIE-LABlab(35.28, -0.78, -31.43)
CIE-LCHlch(35.28, 31.44, 268.58°)
OKLaboklab(44.1% -0.0361 -0.0893)
OKLCHoklch(44.1% 0.096 248)
XYZxyz(8.1249, 8.6394, 23.4251)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5685 #854E1F
analogous
#1F8581 #1F5685 #1F2385
triadic
#1F5685 #851F56 #56851F
tetradic
#1F5685 #811F85 #854E1F #23851F
square
#1F5685 #811F85 #854E1F #23851F
split-complementary
#1F5685 #851F23 #85811F
monochromatic
#081622 #133653 #1F5685 #2B76B7 #4A95D5

Accessibility & contrast

On white

7.70
#1F5685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#1F5685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5685
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5685#FFFFFF#000000##FFFFFF
##1F56851.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405887
Deuteranopia (green-blind)
#324F84
Tritanopia (blue-blind)
#006167
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f5685;
/* rgb */ color: rgb(31, 86, 133);
/* oklch */ color: oklch(44.1% 0.096 248.0);
Tailwind
colors: {
  custom: {
    50: '#6a85a9',
    500: '#1f5685',
    950: '#000000',
  },
}
SCSS
$custom: #1f5685;
$custom-light: #6a85a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5685",
  "rgb": {
    "r": 31,
    "g": 86,
    "b": 133
  },
  "hsl": {
    "h": 207.647,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.441,
    "c": 0.09632,
    "h": 248
  },
  "luminance": 0.0864
}

Semantic roles & 50–950 ramp

primary
#1F5685
secondary
#B77C49
accent
#8E43E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1F5685

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

Preview Lab → · Contrast checker → · Palette generator →

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