#1F558D#1F558D

#1F558D is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.4% C 0.108 H 252.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#1F558D
RGBrgb(31, 85, 141)
HSLhsl(211, 64%, 34%)
HSVhsv(211, 78%, 55%)
CMYKcmyk(78%, 39.7%, 0%, 44.7%)
CIE-LABlab(35.42, 3.00, -36.09)
CIE-LCHlch(35.42, 36.21, 274.75°)
OKLaboklab(44.36% -0.0329 -0.103)
OKLCHoklch(44.36% 0.108 252.3)
XYZxyz(8.6195, 8.7104, 26.4211)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F558D #8D571F
analogous
#1F8C8D #1F558D #201F8D
triadic
#1F558D #8D1F55 #558D1F
tetradic
#1F558D #8D1F8C #8D571F #1F8D20
square
#1F558D #8D1F8C #8D571F #1F8D20
split-complementary
#1F558D #8D201F #8C8D1F
monochromatic
#091929 #14375B #1F558D #2A73BF #4E92D8

Accessibility & contrast

On white

7.66
#1F558D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#1F558D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F558D
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F558D#FFFFFF#000000##FFFFFF
##1F558D1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B598F
Deuteranopia (green-blind)
#294F8C
Tritanopia (blue-blind)
#00626A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f558d;
/* rgb */ color: rgb(31, 85, 141);
/* oklch */ color: oklch(44.4% 0.108 252.3);
Tailwind
colors: {
  custom: {
    50: '#6b84af',
    500: '#1f558d',
    950: '#000000',
  },
}
SCSS
$custom: #1f558d;
$custom-light: #6b84af;
$custom-dark: #000000;
JSON
{
  "hex": "#1f558d",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 141
  },
  "hsl": {
    "h": 210.545,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44358,
    "c": 0.10809,
    "h": 252.3
  },
  "luminance": 0.08711
}

Semantic roles & 50–950 ramp

primary
#1F558D
secondary
#BB854D
accent
#9541E7
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1F558D

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

Preview Lab → · Contrast checker → · Palette generator →

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