#1F578E#1F578E

#1F578E is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 44.9% C 0.107 H 251.2°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#1F578E
RGBrgb(31, 87, 142)
HSLhsl(210, 64%, 34%)
HSVhsv(210, 78%, 56%)
CMYKcmyk(78.2%, 38.7%, 0%, 44.3%)
CIE-LABlab(36.10, 2.09, -35.62)
CIE-LCHlch(36.10, 35.68, 273.36°)
OKLaboklab(44.91% -0.0345 -0.1015)
OKLCHoklch(44.91% 0.107 251.2)
XYZxyz(8.8539, 9.0597, 26.8680)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F578E #8E561F
analogous
#1F8E8E #1F578E #1F1F8E
triadic
#1F578E #8E1F57 #578E1F
tetradic
#1F578E #8E1F8E #8E561F #1F8E1F
square
#1F578E #8E1F8E #8E561F #1F8E1F
split-complementary
#1F578E #8E1F1F #8E8E1F
monochromatic
#09192A #14385C #1F578E #2A76C0 #4F94D9

Accessibility & contrast

On white

7.47
#1F578E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#1F578E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F578E
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F578E#FFFFFF#000000##FFFFFF
##1F578E1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A90
Deuteranopia (green-blind)
#2C508D
Tritanopia (blue-blind)
#00646B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1f578e;
/* rgb */ color: rgb(31, 87, 142);
/* oklch */ color: oklch(44.9% 0.107 251.2);
Tailwind
colors: {
  custom: {
    50: '#6c86af',
    500: '#1f578e',
    950: '#000000',
  },
}
SCSS
$custom: #1f578e;
$custom-light: #6c86af;
$custom-dark: #000000;
JSON
{
  "hex": "#1f578e",
  "rgb": {
    "r": 31,
    "g": 87,
    "b": 142
  },
  "hsl": {
    "h": 209.73,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44907,
    "c": 0.10727,
    "h": 251.2
  },
  "luminance": 0.09061
}

Semantic roles & 50–950 ramp

primary
#1F578E
secondary
#BB844D
accent
#9341E7
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #1F578E

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

Preview Lab → · Contrast checker → · Palette generator →

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