#1E5178#1E5178

#1E5178 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.0% C 0.085 H 245.1°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#1E5178
RGBrgb(30, 81, 120)
HSLhsl(206, 60%, 29%)
HSVhsv(206, 75%, 47%)
CMYKcmyk(75%, 32.5%, 0%, 52.9%)
CIE-LABlab(32.95, -2.77, -27.07)
CIE-LCHlch(32.95, 27.21, 264.17°)
OKLaboklab(42.03% -0.0357 -0.0767)
OKLCHoklch(42.03% 0.085 245.1)
XYZxyz(6.8667, 7.5162, 18.8545)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E5178 #78451E
analogous
#1E7872 #1E5178 #1E2478
triadic
#1E5178 #781E51 #51781E
tetradic
#1E5178 #721E78 #78451E #24781E
square
#1E5178 #721E78 #78451E #24781E
split-complementary
#1E5178 #781E24 #78721E
monochromatic
#061118 #123047 #1E5178 #2A72A9 #4192CF

Accessibility & contrast

On white

8.39
#1E5178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#1E5178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E5178
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E5178#FFFFFF#000000##FFFFFF
##1E51781.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F527A
Deuteranopia (green-blind)
#334A77
Tritanopia (blue-blind)
#005A5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1e5178;
/* rgb */ color: rgb(30, 81, 120);
/* oklch */ color: oklch(42.0% 0.085 245.1);
Tailwind
colors: {
  custom: {
    50: '#67819f',
    500: '#1e5178',
    950: '#000000',
  },
}
SCSS
$custom: #1e5178;
$custom-light: #67819f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e5178",
  "rgb": {
    "r": 30,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 206,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4203,
    "c": 0.08456,
    "h": 245.1
  },
  "luminance": 0.07517
}

Semantic roles & 50–950 ramp

primary
#1E5178
secondary
#AC7246
accent
#8945E3
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #1E5178

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

Preview Lab → · Contrast checker → · Palette generator →

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