#1F5885#1F5885

#1F5885 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.6% C 0.094 H 246.2°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#1F5885
RGBrgb(31, 88, 133)
HSLhsl(206, 62%, 32%)
HSVhsv(206, 77%, 52%)
CMYKcmyk(76.7%, 33.8%, 0%, 47.8%)
CIE-LABlab(35.91, -2.05, -30.43)
CIE-LCHlch(35.91, 30.50, 266.14°)
OKLaboklab(44.6% -0.0381 -0.0863)
OKLCHoklch(44.6% 0.094 246.2)
XYZxyz(8.2868, 8.9633, 23.4791)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5885 #854C1F
analogous
#1F857F #1F5885 #1F2585
triadic
#1F5885 #851F58 #58851F
tetradic
#1F5885 #7F1F85 #854C1F #25851F
square
#1F5885 #7F1F85 #854C1F #25851F
split-complementary
#1F5885 #851F25 #857F1F
monochromatic
#081622 #133753 #1F5885 #2B79B7 #4A97D5

Accessibility & contrast

On white

7.52
#1F5885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#1F5885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5885
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5885#FFFFFF#000000##FFFFFF
##1F58851.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435A87
Deuteranopia (green-blind)
#355084
Tritanopia (blue-blind)
#006368
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f5885;
/* rgb */ color: rgb(31, 88, 133);
/* oklch */ color: oklch(44.6% 0.094 246.2);
Tailwind
colors: {
  custom: {
    50: '#6a86a9',
    500: '#1f5885',
    950: '#000000',
  },
}
SCSS
$custom: #1f5885;
$custom-light: #6a86a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5885",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 133
  },
  "hsl": {
    "h": 206.471,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44598,
    "c": 0.09439,
    "h": 246.2
  },
  "luminance": 0.08964
}

Semantic roles & 50–950 ramp

primary
#1F5885
secondary
#B77949
accent
#8A43E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1F5885

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

Preview Lab → · Contrast checker → · Palette generator →

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