#1F557B#1F557B

#1F557B is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.3% C 0.084 H 243.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#1F557B
RGBrgb(31, 85, 123)
HSLhsl(205, 60%, 30%)
HSVhsv(205, 75%, 48%)
CMYKcmyk(74.8%, 30.9%, 0%, 51.8%)
CIE-LABlab(34.43, -4.00, -26.61)
CIE-LCHlch(34.43, 26.91, 261.45°)
OKLaboklab(43.26% -0.0383 -0.0752)
OKLCHoklch(43.26% 0.084 243)
XYZxyz(7.3873, 8.2175, 19.9319)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F557B #7B451F
analogous
#1F7B73 #1F557B #1F277B
triadic
#1F557B #7B1F55 #557B1F
tetradic
#1F557B #731F7B #7B451F #277B1F
square
#1F557B #731F7B #7B451F #277B1F
split-complementary
#1F557B #7B1F27 #7B731F
monochromatic
#061119 #13334A #1F557B #2B77AC #4496D0

Accessibility & contrast

On white

7.94
#1F557B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#1F557B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F557B
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F557B#FFFFFF#000000##FFFFFF
##1F557B1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44567D
Deuteranopia (green-blind)
#374D7A
Tritanopia (blue-blind)
#005E62
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f557b;
/* rgb */ color: rgb(31, 85, 123);
/* oklch */ color: oklch(43.3% 0.084 243.0);
Tailwind
colors: {
  custom: {
    50: '#6884a1',
    500: '#1f557b',
    950: '#000000',
  },
}
SCSS
$custom: #1f557b;
$custom-light: #6884a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f557b",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 123
  },
  "hsl": {
    "h": 204.783,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.43257,
    "c": 0.08443,
    "h": 243
  },
  "luminance": 0.08218
}

Semantic roles & 50–950 ramp

primary
#1F557B
secondary
#AE7248
accent
#8645E3
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #1F557B

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

Preview Lab → · Contrast checker → · Palette generator →

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