#1F5784#1F5784

#1F5784 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.3% C 0.094 H 246.5°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#1F5784
RGBrgb(31, 87, 132)
HSLhsl(207, 62%, 32%)
HSVhsv(207, 77%, 52%)
CMYKcmyk(76.5%, 34.1%, 0%, 48.2%)
CIE-LABlab(35.54, -1.81, -30.40)
CIE-LCHlch(35.54, 30.45, 266.60°)
OKLaboklab(44.29% -0.0374 -0.0863)
OKLCHoklch(44.29% 0.094 246.5)
XYZxyz(8.1365, 8.7727, 23.0898)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5784 #844C1F
analogous
#1F847F #1F5784 #1F2484
triadic
#1F5784 #841F57 #57841F
tetradic
#1F5784 #7F1F84 #844C1F #24841F
square
#1F5784 #7F1F84 #844C1F #24841F
split-complementary
#1F5784 #841F24 #847F1F
monochromatic
#081621 #133652 #1F5784 #2B78B6 #4996D4

Accessibility & contrast

On white

7.62
#1F5784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#1F5784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5784
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5784#FFFFFF#000000##FFFFFF
##1F57841.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425986
Deuteranopia (green-blind)
#344F83
Tritanopia (blue-blind)
#006267
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f5784;
/* rgb */ color: rgb(31, 87, 132);
/* oklch */ color: oklch(44.3% 0.094 246.5);
Tailwind
colors: {
  custom: {
    50: '#6a86a8',
    500: '#1f5784',
    950: '#000000',
  },
}
SCSS
$custom: #1f5784;
$custom-light: #6a86a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5784",
  "rgb": {
    "r": 31,
    "g": 87,
    "b": 132
  },
  "hsl": {
    "h": 206.733,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44289,
    "c": 0.09404,
    "h": 246.5
  },
  "luminance": 0.08774
}

Semantic roles & 50–950 ramp

primary
#1F5784
secondary
#B77948
accent
#8B43E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F5784

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

Preview Lab → · Contrast checker → · Palette generator →

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