#1F5487#1F5487

#1F5487 is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.7% C 0.101 H 250.6°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#1F5487
RGBrgb(31, 84, 135)
HSLhsl(209, 63%, 33%)
HSVhsv(209, 77%, 53%)
CMYKcmyk(77%, 37.8%, 0%, 47.1%)
CIE-LABlab(34.76, 1.29, -33.47)
CIE-LCHlch(34.76, 33.50, 272.21°)
OKLaboklab(43.73% -0.0336 -0.0953)
OKLCHoklch(43.73% 0.101 250.6)
XYZxyz(8.1069, 8.3803, 24.1073)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5487 #87521F
analogous
#1F8786 #1F5487 #1F2087
triadic
#1F5487 #871F54 #54871F
tetradic
#1F5487 #861F87 #87521F #20871F
square
#1F5487 #861F87 #87521F #20871F
split-complementary
#1F5487 #871F20 #87861F
monochromatic
#081623 #143555 #1F5487 #2A73B9 #4B92D6

Accessibility & contrast

On white

7.85
#1F5487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#1F5487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5487
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5487#FFFFFF#000000##FFFFFF
##1F54871.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5789
Deuteranopia (green-blind)
#2D4D86
Tritanopia (blue-blind)
#006067
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f5487;
/* rgb */ color: rgb(31, 84, 135);
/* oklch */ color: oklch(43.7% 0.101 250.6);
Tailwind
colors: {
  custom: {
    50: '#6a83aa',
    500: '#1f5487',
    950: '#000000',
  },
}
SCSS
$custom: #1f5487;
$custom-light: #6a83aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5487",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 135
  },
  "hsl": {
    "h": 209.423,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4373,
    "c": 0.10104,
    "h": 250.6
  },
  "luminance": 0.08381
}

Semantic roles & 50–950 ramp

primary
#1F5487
secondary
#B8804A
accent
#9242E6
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1F5487

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

Preview Lab → · Contrast checker → · Palette generator →

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