#1F557D#1F557D

#1F557D is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.4% C 0.087 H 244.4°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#1F557D
RGBrgb(31, 85, 125)
HSLhsl(206, 60%, 31%)
HSVhsv(206, 75%, 49%)
CMYKcmyk(75.2%, 32%, 0%, 51%)
CIE-LABlab(34.54, -3.23, -27.68)
CIE-LCHlch(34.54, 27.87, 263.34°)
OKLaboklab(43.37% -0.0376 -0.0784)
OKLCHoklch(43.37% 0.087 244.4)
XYZxyz(7.5138, 8.2681, 20.5980)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F557D #7D471F
analogous
#1F7D76 #1F557D #1F267D
triadic
#1F557D #7D1F55 #557D1F
tetradic
#1F557D #761F7D #7D471F #267D1F
square
#1F557D #761F7D #7D471F #267D1F
split-complementary
#1F557D #7D1F26 #7D761F
monochromatic
#07121B #13344C #1F557D #2B76AE #4596D1

Accessibility & contrast

On white

7.91
#1F557D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#1F557D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F557D
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F557D#FFFFFF#000000##FFFFFF
##1F557D1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43567F
Deuteranopia (green-blind)
#364D7C
Tritanopia (blue-blind)
#005F63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f557d;
/* rgb */ color: rgb(31, 85, 125);
/* oklch */ color: oklch(43.4% 0.087 244.4);
Tailwind
colors: {
  custom: {
    50: '#6884a3',
    500: '#1f557d',
    950: '#000000',
  },
}
SCSS
$custom: #1f557d;
$custom-light: #6884a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f557d",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 125
  },
  "hsl": {
    "h": 205.532,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43373,
    "c": 0.08694,
    "h": 244.4
  },
  "luminance": 0.08269
}

Semantic roles & 50–950 ramp

primary
#1F557D
secondary
#B07448
accent
#8844E3
background
#F6F8FA
surface
#EBEFF3
border
#C6CACD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F557D

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

Preview Lab → · Contrast checker → · Palette generator →

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