#1F578B#1F578B

#1F578B is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.7% C 0.103 H 250.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#1F578B
RGBrgb(31, 87, 139)
HSLhsl(209, 64%, 33%)
HSVhsv(209, 78%, 55%)
CMYKcmyk(77.7%, 37.4%, 0%, 45.5%)
CIE-LABlab(35.93, 0.92, -34.07)
CIE-LCHlch(35.93, 34.08, 271.54°)
OKLaboklab(44.72% -0.0354 -0.097)
OKLCHoklch(44.72% 0.103 250)
XYZxyz(8.6317, 8.9708, 25.6977)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F578B #8B531F
analogous
#1F8B89 #1F578B #1F218B
triadic
#1F578B #8B1F57 #578B1F
tetradic
#1F578B #891F8B #8B531F #218B1F
square
#1F578B #891F8B #8B531F #218B1F
split-complementary
#1F578B #8B1F21 #8B891F
monochromatic
#091827 #143859 #1F578B #2A76BD #4D95D7

Accessibility & contrast

On white

7.52
#1F578B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F578B
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F578B#FFFFFF#000000##FFFFFF
##1F578B1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5A8D
Deuteranopia (green-blind)
#2F508A
Tritanopia (blue-blind)
#00636A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f578b;
/* rgb */ color: rgb(31, 87, 139);
/* oklch */ color: oklch(44.7% 0.103 250.0);
Tailwind
colors: {
  custom: {
    50: '#6b86ad',
    500: '#1f578b',
    950: '#000000',
  },
}
SCSS
$custom: #1f578b;
$custom-light: #6b86ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1f578b",
  "rgb": {
    "r": 31,
    "g": 87,
    "b": 139
  },
  "hsl": {
    "h": 208.889,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44717,
    "c": 0.10324,
    "h": 250
  },
  "luminance": 0.08972
}

Semantic roles & 50–950 ramp

primary
#1F578B
secondary
#BA814C
accent
#9141E7
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #1F578B

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

Preview Lab → · Contrast checker → · Palette generator →

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