#1F5378#1F5378

#1F5378 is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.6% C 0.082 H 243.2°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#1F5378
RGBrgb(31, 83, 120)
HSLhsl(205, 59%, 30%)
HSVhsv(205, 74%, 47%)
CMYKcmyk(74.2%, 30.8%, 0%, 52.9%)
CIE-LABlab(33.63, -3.88, -26.00)
CIE-LCHlch(33.63, 26.29, 261.51°)
OKLaboklab(42.58% -0.0372 -0.0735)
OKLCHoklch(42.58% 0.082 243.2)
XYZxyz(7.0472, 7.8331, 18.9062)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5378 #78441F
analogous
#1F7871 #1F5378 #1F2778
triadic
#1F5378 #781F53 #53781F
tetradic
#1F5378 #711F78 #78441F #27781F
square
#1F5378 #711F78 #78441F #27781F
split-complementary
#1F5378 #781F27 #78711F
monochromatic
#061118 #123147 #1F5378 #2C75A9 #4394CE

Accessibility & contrast

On white

8.18
#1F5378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#1F5378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5378
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5378#FFFFFF#000000##FFFFFF
##1F53781.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42547A
Deuteranopia (green-blind)
#364B77
Tritanopia (blue-blind)
#005C60
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1f5378;
/* rgb */ color: rgb(31, 83, 120);
/* oklch */ color: oklch(42.6% 0.082 243.2);
Tailwind
colors: {
  custom: {
    50: '#67839f',
    500: '#1f5378',
    950: '#000000',
  },
}
SCSS
$custom: #1f5378;
$custom-light: #67839f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5378",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 120
  },
  "hsl": {
    "h": 204.944,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42575,
    "c": 0.08238,
    "h": 243.2
  },
  "luminance": 0.07834
}

Semantic roles & 50–950 ramp

primary
#1F5378
secondary
#AB7147
accent
#8746E2
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #1F5378

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

Preview Lab → · Contrast checker → · Palette generator →

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