#1F557E#1F557E

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

Color values

HEX#1F557E
RGBrgb(31, 85, 126)
HSLhsl(206, 61%, 31%)
HSVhsv(206, 75%, 49%)
CMYKcmyk(75.4%, 32.5%, 0%, 50.6%)
CIE-LABlab(34.59, -2.85, -28.22)
CIE-LCHlch(34.59, 28.36, 264.23°)
OKLaboklab(43.43% -0.0373 -0.0799)
OKLCHoklch(43.43% 0.088 245)
XYZxyz(7.5780, 8.2938, 20.9361)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F557E #7E481F
analogous
#1F7E77 #1F557E #1F257E
triadic
#1F557E #7E1F55 #557E1F
tetradic
#1F557E #771F7E #7E481F #257E1F
square
#1F557E #771F7E #7E481F #257E1F
split-complementary
#1F557E #7E1F25 #7E771F
monochromatic
#07131C #13344D #1F557E #2B76AF #4695D1

Accessibility & contrast

On white

7.90
#1F557E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F557E
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F557E#FFFFFF#000000##FFFFFF
##1F557E1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425680
Deuteranopia (green-blind)
#354D7D
Tritanopia (blue-blind)
#005F64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f557e;
/* rgb */ color: rgb(31, 85, 126);
/* oklch */ color: oklch(43.4% 0.088 245.0);
Tailwind
colors: {
  custom: {
    50: '#6884a3',
    500: '#1f557e',
    950: '#000000',
  },
}
SCSS
$custom: #1f557e;
$custom-light: #6884a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f557e",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 126
  },
  "hsl": {
    "h": 205.895,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43431,
    "c": 0.0882,
    "h": 245
  },
  "luminance": 0.08295
}

Semantic roles & 50–950 ramp

primary
#1F557E
secondary
#B17548
accent
#8944E4
background
#F6F8FA
surface
#EBEFF4
border
#C6CACE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F557E

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

Preview Lab → · Contrast checker → · Palette generator →

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