#1E5174#1E5174

#1E5174 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.8% C 0.080 H 242.2°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#1E5174
RGBrgb(30, 81, 116)
HSLhsl(204, 59%, 29%)
HSVhsv(204, 74%, 45%)
CMYKcmyk(74.1%, 30.2%, 0%, 54.5%)
CIE-LABlab(32.75, -4.30, -24.91)
CIE-LCHlch(32.75, 25.27, 260.20°)
OKLaboklab(41.8% -0.037 -0.0704)
OKLCHoklch(41.8% 0.08 242.2)
XYZxyz(6.6290, 7.4211, 17.6027)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E5174 #74411E
analogous
#1E746C #1E5174 #1E2674
triadic
#1E5174 #741E51 #51741E
tetradic
#1E5174 #6C1E74 #74411E #26741E
square
#1E5174 #6C1E74 #74411E #26741E
split-complementary
#1E5174 #741E26 #746C1E
monochromatic
#061118 #112F43 #1E5174 #2B73A5 #3F93CD

Accessibility & contrast

On white

8.45
#1E5174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1E5174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E5174
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E5174#FFFFFF#000000##FFFFFF
##1E51741.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415276
Deuteranopia (green-blind)
#354973
Tritanopia (blue-blind)
#005A5D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1e5174;
/* rgb */ color: rgb(30, 81, 116);
/* oklch */ color: oklch(41.8% 0.080 242.2);
Tailwind
colors: {
  custom: {
    50: '#66819c',
    500: '#1e5174',
    950: '#000000',
  },
}
SCSS
$custom: #1e5174;
$custom-light: #66819c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e5174",
  "rgb": {
    "r": 30,
    "g": 81,
    "b": 116
  },
  "hsl": {
    "h": 204.419,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41798,
    "c": 0.0795,
    "h": 242.2
  },
  "luminance": 0.07422
}

Semantic roles & 50–950 ramp

primary
#1E5174
secondary
#A86E46
accent
#8546E2
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1E5174

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

Preview Lab → · Contrast checker → · Palette generator →

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