#1F5884#1F5884

#1F5884 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.5% C 0.093 H 245.6°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#1F5884
RGBrgb(31, 88, 132)
HSLhsl(206, 62%, 32%)
HSVhsv(206, 77%, 52%)
CMYKcmyk(76.5%, 33.3%, 0%, 48.2%)
CIE-LABlab(35.86, -2.44, -29.90)
CIE-LCHlch(35.86, 30.00, 265.33°)
OKLaboklab(44.54% -0.0384 -0.0848)
OKLCHoklch(44.54% 0.093 245.6)
XYZxyz(8.2181, 8.9358, 23.1170)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5884 #844B1F
analogous
#1F847E #1F5884 #1F2584
triadic
#1F5884 #841F58 #58841F
tetradic
#1F5884 #7E1F84 #844B1F #25841F
square
#1F5884 #7E1F84 #844B1F #25841F
split-complementary
#1F5884 #841F25 #847E1F
monochromatic
#081621 #133752 #1F5884 #2B79B6 #4998D4

Accessibility & contrast

On white

7.53
#1F5884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F5884
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5884#FFFFFF#000000##FFFFFF
##1F58841.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445A86
Deuteranopia (green-blind)
#365083
Tritanopia (blue-blind)
#006368
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f5884;
/* rgb */ color: rgb(31, 88, 132);
/* oklch */ color: oklch(44.5% 0.093 245.6);
Tailwind
colors: {
  custom: {
    50: '#6a86a8',
    500: '#1f5884',
    950: '#000000',
  },
}
SCSS
$custom: #1f5884;
$custom-light: #6a86a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5884",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 132
  },
  "hsl": {
    "h": 206.139,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44539,
    "c": 0.09311,
    "h": 245.6
  },
  "luminance": 0.08937
}

Semantic roles & 50–950 ramp

primary
#1F5884
secondary
#B77848
accent
#8943E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F5884

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

Preview Lab → · Contrast checker → · Palette generator →

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