#1F5584#1F5584

#1F5584 is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 43.8% C 0.096 H 248.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#1F5584
RGBrgb(31, 85, 132)
HSLhsl(208, 62%, 32%)
HSVhsv(208, 77%, 52%)
CMYKcmyk(76.5%, 35.6%, 0%, 48.2%)
CIE-LABlab(34.91, -0.53, -31.40)
CIE-LCHlch(34.91, 31.40, 269.04°)
OKLaboklab(43.79% -0.0354 -0.0892)
OKLCHoklch(43.79% 0.096 248.3)
XYZxyz(7.9768, 8.4533, 23.0366)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5584 #844E1F
analogous
#1F8481 #1F5584 #1F2384
triadic
#1F5584 #841F55 #55841F
tetradic
#1F5584 #811F84 #844E1F #23841F
square
#1F5584 #811F84 #844E1F #23841F
split-complementary
#1F5584 #841F23 #84811F
monochromatic
#081521 #133552 #1F5584 #2B75B6 #4994D4

Accessibility & contrast

On white

7.80
#1F5584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#1F5584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5584
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5584#FFFFFF#000000##FFFFFF
##1F55841.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5786
Deuteranopia (green-blind)
#314E83
Tritanopia (blue-blind)
#006066
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f5584;
/* rgb */ color: rgb(31, 85, 132);
/* oklch */ color: oklch(43.8% 0.096 248.3);
Tailwind
colors: {
  custom: {
    50: '#6a84a8',
    500: '#1f5584',
    950: '#000000',
  },
}
SCSS
$custom: #1f5584;
$custom-light: #6a84a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5584",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 132
  },
  "hsl": {
    "h": 207.921,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43791,
    "c": 0.09599,
    "h": 248.3
  },
  "luminance": 0.08454
}

Semantic roles & 50–950 ramp

primary
#1F5584
secondary
#B77C48
accent
#8E43E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F5584

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

Preview Lab → · Contrast checker → · Palette generator →

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