#1F578A#1F578A

#1F578A is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.7% C 0.102 H 249.5°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#1F578A
RGBrgb(31, 87, 138)
HSLhsl(209, 63%, 33%)
HSVhsv(209, 78%, 54%)
CMYKcmyk(77.5%, 37%, 0%, 45.9%)
CIE-LABlab(35.87, 0.53, -33.55)
CIE-LCHlch(35.87, 33.55, 270.90°)
OKLaboklab(44.66% -0.0357 -0.0955)
OKLCHoklch(44.66% 0.102 249.5)
XYZxyz(8.5590, 8.9417, 25.3147)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F578A #8A521F
analogous
#1F8A87 #1F578A #1F218A
triadic
#1F578A #8A1F57 #578A1F
tetradic
#1F578A #871F8A #8A521F #218A1F
square
#1F578A #871F8A #8A521F #218A1F
split-complementary
#1F578A #8A1F21 #8A871F
monochromatic
#091826 #143758 #1F578A #2A77BC #4C95D7

Accessibility & contrast

On white

7.53
#1F578A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#1F578A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F578A
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F578A#FFFFFF#000000##FFFFFF
##1F578A1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5A8C
Deuteranopia (green-blind)
#305089
Tritanopia (blue-blind)
#00636A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f578a;
/* rgb */ color: rgb(31, 87, 138);
/* oklch */ color: oklch(44.7% 0.102 249.5);
Tailwind
colors: {
  custom: {
    50: '#6b86ac',
    500: '#1f578a',
    950: '#000000',
  },
}
SCSS
$custom: #1f578a;
$custom-light: #6b86ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f578a",
  "rgb": {
    "r": 31,
    "g": 87,
    "b": 138
  },
  "hsl": {
    "h": 208.598,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44655,
    "c": 0.10191,
    "h": 249.5
  },
  "luminance": 0.08943
}

Semantic roles & 50–950 ramp

primary
#1F578A
secondary
#BA804B
accent
#9041E6
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1F578A

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

Preview Lab → · Contrast checker → · Palette generator →

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