#1E5172#1E5172

#1E5172 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.7% C 0.077 H 240.7°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#1E5172
RGBrgb(30, 81, 114)
HSLhsl(204, 58%, 28%)
HSVhsv(204, 74%, 45%)
CMYKcmyk(73.7%, 28.9%, 0%, 55.3%)
CIE-LABlab(32.65, -5.07, -23.81)
CIE-LCHlch(32.65, 24.35, 257.99°)
OKLaboklab(41.69% -0.0377 -0.0672)
OKLCHoklch(41.69% 0.077 240.7)
XYZxyz(6.5139, 7.3751, 16.9966)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E5172 #723F1E
analogous
#1E7269 #1E5172 #1E2772
triadic
#1E5172 #721E51 #51721E
tetradic
#1E5172 #691E72 #723F1E #27721E
square
#1E5172 #691E72 #723F1E #27721E
split-complementary
#1E5172 #721E27 #72691E
monochromatic
#061118 #112F42 #1E5172 #2B73A2 #3E94CC

Accessibility & contrast

On white

8.48
#1E5172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E5172
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E5172#FFFFFF#000000##FFFFFF
##1E51721.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425173
Deuteranopia (green-blind)
#364971
Tritanopia (blue-blind)
#00595C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1e5172;
/* rgb */ color: rgb(30, 81, 114);
/* oklch */ color: oklch(41.7% 0.077 240.7);
Tailwind
colors: {
  custom: {
    50: '#65819a',
    500: '#1e5172',
    950: '#000000',
  },
}
SCSS
$custom: #1e5172;
$custom-light: #65819a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e5172",
  "rgb": {
    "r": 30,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 203.571,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41685,
    "c": 0.07706,
    "h": 240.7
  },
  "luminance": 0.07376
}

Semantic roles & 50–950 ramp

primary
#1E5172
secondary
#A66C46
accent
#8346E2
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1E5172

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

Preview Lab → · Contrast checker → · Palette generator →

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