#1E5799#1E5799

#1E5799 is a mid, vivid cyan. Relative luminance 0.094; OKLCH L 45.6% C 0.123 H 254.6°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#1E5799
RGBrgb(30, 87, 153)
HSLhsl(212, 67%, 36%)
HSVhsv(212, 80%, 60%)
CMYKcmyk(80.4%, 43.1%, 0%, 40%)
CIE-LABlab(36.73, 6.32, -41.27)
CIE-LCHlch(36.73, 41.75, 278.70°)
OKLaboklab(45.6% -0.0324 -0.1181)
OKLCHoklch(45.6% 0.123 254.6)
XYZxyz(9.6912, 9.3912, 31.4327)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E5799 #99601E
analogous
#1E9499 #1E5799 #221E99
triadic
#1E5799 #991E57 #57991E
tetradic
#1E5799 #991E94 #99601E #1E9922
square
#1E5799 #991E94 #99601E #1E9922
split-complementary
#1E5799 #99221E #94991E
monochromatic
#0A1D33 #143A66 #1E5799 #2874CC #5494DD

Accessibility & contrast

On white

7.30
#1E5799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#1E5799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E5799
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E5799#FFFFFF#000000##FFFFFF
##1E57991.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365C9C
Deuteranopia (green-blind)
#205198
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1e5799;
/* rgb */ color: rgb(30, 87, 153);
/* oklch */ color: oklch(45.6% 0.123 254.6);
Tailwind
colors: {
  custom: {
    50: '#6e85b7',
    500: '#1e5799',
    950: '#000000',
  },
}
SCSS
$custom: #1e5799;
$custom-light: #6e85b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e5799",
  "rgb": {
    "r": 30,
    "g": 87,
    "b": 153
  },
  "hsl": {
    "h": 212.195,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45602,
    "c": 0.12252,
    "h": 254.6
  },
  "luminance": 0.09392
}

Semantic roles & 50–950 ramp

primary
#1E5799
secondary
#C18D52
accent
#9A3EEA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1E5799

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

Preview Lab → · Contrast checker → · Palette generator →

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