#1F557F#1F557F

#1F557F is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.5% C 0.089 H 245.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#1F557F
RGBrgb(31, 85, 127)
HSLhsl(206, 61%, 31%)
HSVhsv(206, 76%, 50%)
CMYKcmyk(75.6%, 33.1%, 0%, 50.2%)
CIE-LABlab(34.64, -2.46, -28.75)
CIE-LCHlch(34.64, 28.86, 265.10°)
OKLaboklab(43.49% -0.037 -0.0815)
OKLCHoklch(43.49% 0.089 245.6)
XYZxyz(7.6429, 8.3197, 21.2776)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F557F #7F491F
analogous
#1F7F79 #1F557F #1F257F
triadic
#1F557F #7F1F55 #557F1F
tetradic
#1F557F #791F7F #7F491F #257F1F
square
#1F557F #791F7F #7F491F #257F1F
split-complementary
#1F557F #7F1F25 #7F791F
monochromatic
#07131D #13344E #1F557F #2B76B0 #4695D2

Accessibility & contrast

On white

7.88
#1F557F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#1F557F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F557F
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F557F#FFFFFF#000000##FFFFFF
##1F557F1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425681
Deuteranopia (green-blind)
#344D7E
Tritanopia (blue-blind)
#005F64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f557f;
/* rgb */ color: rgb(31, 85, 127);
/* oklch */ color: oklch(43.5% 0.089 245.6);
Tailwind
colors: {
  custom: {
    50: '#6884a4',
    500: '#1f557f',
    950: '#000000',
  },
}
SCSS
$custom: #1f557f;
$custom-light: #6884a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f557f",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 127
  },
  "hsl": {
    "h": 206.25,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4349,
    "c": 0.08948,
    "h": 245.6
  },
  "luminance": 0.08321
}

Semantic roles & 50–950 ramp

primary
#1F557F
secondary
#B27648
accent
#8A44E4
background
#F6F8FA
surface
#EBEFF4
border
#C6CACE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F557F

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

Preview Lab → · Contrast checker → · Palette generator →

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