#1F557A#1F557A

#1F557A is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.2% C 0.083 H 242.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#1F557A
RGBrgb(31, 85, 122)
HSLhsl(204, 59%, 30%)
HSVhsv(204, 75%, 48%)
CMYKcmyk(74.6%, 30.3%, 0%, 52.2%)
CIE-LABlab(34.38, -4.38, -26.07)
CIE-LCHlch(34.38, 26.44, 260.46°)
OKLaboklab(43.2% -0.0386 -0.0737)
OKLCHoklch(43.2% 0.083 242.3)
XYZxyz(7.3251, 8.1926, 19.6039)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F557A #7A441F
analogous
#1F7A72 #1F557A #1F277A
triadic
#1F557A #7A1F55 #557A1F
tetradic
#1F557A #721F7A #7A441F #277A1F
square
#1F557A #721F7A #7A441F #277A1F
split-complementary
#1F557A #7A1F27 #7A721F
monochromatic
#061118 #133349 #1F557A #2B77AB #4497CF

Accessibility & contrast

On white

7.96
#1F557A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F557A
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F557A#FFFFFF#000000##FFFFFF
##1F557A1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f557a;
/* rgb */ color: rgb(31, 85, 122);
/* oklch */ color: oklch(43.2% 0.083 242.3);
Tailwind
colors: {
  custom: {
    50: '#6884a0',
    500: '#1f557a',
    950: '#000000',
  },
}
SCSS
$custom: #1f557a;
$custom-light: #6884a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f557a",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 122
  },
  "hsl": {
    "h": 204.396,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.432,
    "c": 0.0832,
    "h": 242.3
  },
  "luminance": 0.08193
}

Semantic roles & 50–950 ramp

primary
#1F557A
secondary
#AD7147
accent
#8545E3
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #1F557A

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

Preview Lab → · Contrast checker → · Palette generator →

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