#1F5488#1F5488

#1F5488 is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.8% C 0.102 H 251.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#1F5488
RGBrgb(31, 84, 136)
HSLhsl(210, 63%, 33%)
HSVhsv(210, 77%, 53%)
CMYKcmyk(77.2%, 38.2%, 0%, 46.7%)
CIE-LABlab(34.82, 1.68, -33.99)
CIE-LCHlch(34.82, 34.03, 272.83°)
OKLaboklab(43.79% -0.0333 -0.0968)
OKLCHoklch(43.79% 0.102 251)
XYZxyz(8.1777, 8.4086, 24.4798)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5488 #88531F
analogous
#1F8887 #1F5488 #1F2088
triadic
#1F5488 #881F54 #54881F
tetradic
#1F5488 #871F88 #88531F #20881F
square
#1F5488 #871F88 #88531F #20881F
split-complementary
#1F5488 #881F20 #88871F
monochromatic
#081624 #143556 #1F5488 #2A73BA #4B91D6

Accessibility & contrast

On white

7.83
#1F5488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F5488
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5488#FFFFFF#000000##FFFFFF
##1F54881.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f5488;
/* rgb */ color: rgb(31, 84, 136);
/* oklch */ color: oklch(43.8% 0.102 251.0);
Tailwind
colors: {
  custom: {
    50: '#6a83ab',
    500: '#1f5488',
    950: '#000000',
  },
}
SCSS
$custom: #1f5488;
$custom-light: #6a83ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5488",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 136
  },
  "hsl": {
    "h": 209.714,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43793,
    "c": 0.10239,
    "h": 251
  },
  "luminance": 0.0841
}

Semantic roles & 50–950 ramp

primary
#1F5488
secondary
#B9814A
accent
#9342E6
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1F5488

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

Preview Lab → · Contrast checker → · Palette generator →

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