#1F5984#1F5984

#1F5984 is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 44.8% C 0.092 H 244.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#1F5984
RGBrgb(31, 89, 132)
HSLhsl(206, 62%, 32%)
HSVhsv(206, 77%, 52%)
CMYKcmyk(76.5%, 32.6%, 0%, 48.2%)
CIE-LABlab(36.18, -3.07, -29.40)
CIE-LCHlch(36.18, 29.56, 264.03°)
OKLaboklab(44.79% -0.0395 -0.0833)
OKLCHoklch(44.79% 0.092 244.7)
XYZxyz(8.3007, 9.1011, 23.1445)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5984 #844A1F
analogous
#1F847D #1F5984 #1F2684
triadic
#1F5984 #841F59 #59841F
tetradic
#1F5984 #7D1F84 #844A1F #26841F
square
#1F5984 #7D1F84 #844A1F #26841F
split-complementary
#1F5984 #841F26 #847D1F
monochromatic
#081621 #133852 #1F5984 #2B7AB6 #4999D4

Accessibility & contrast

On white

7.45
#1F5984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#1F5984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5984
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5984#FFFFFF#000000##FFFFFF
##1F59841.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455A86
Deuteranopia (green-blind)
#375183
Tritanopia (blue-blind)
#006368
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1f5984;
/* rgb */ color: rgb(31, 89, 132);
/* oklch */ color: oklch(44.8% 0.092 244.7);
Tailwind
colors: {
  custom: {
    50: '#6a87a8',
    500: '#1f5984',
    950: '#000000',
  },
}
SCSS
$custom: #1f5984;
$custom-light: #6a87a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5984",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 132
  },
  "hsl": {
    "h": 205.545,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4479,
    "c": 0.0922,
    "h": 244.7
  },
  "luminance": 0.09102
}

Semantic roles & 50–950 ramp

primary
#1F5984
secondary
#B77748
accent
#8843E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F5984

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

Preview Lab → · Contrast checker → · Palette generator →

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