#1E5797#1E5797

#1E5797 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.5% C 0.120 H 254.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#1E5797
RGBrgb(30, 87, 151)
HSLhsl(212, 67%, 35%)
HSVhsv(212, 80%, 59%)
CMYKcmyk(80.1%, 42.4%, 0%, 40.8%)
CIE-LABlab(36.60, 5.52, -40.26)
CIE-LCHlch(36.60, 40.64, 277.81°)
OKLaboklab(45.47% -0.0329 -0.1152)
OKLCHoklch(45.47% 0.12 254.1)
XYZxyz(9.5274, 9.3256, 30.5700)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E5797 #975E1E
analogous
#1E9397 #1E5797 #221E97
triadic
#1E5797 #971E57 #57971E
tetradic
#1E5797 #971E93 #975E1E #1E9722
square
#1E5797 #971E93 #975E1E #1E9722
split-complementary
#1E5797 #97221E #93971E
monochromatic
#0A1C31 #143A64 #1E5797 #2874CA #5394DD

Accessibility & contrast

On white

7.33
#1E5797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#1E5797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E5797
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E5797#FFFFFF#000000##FFFFFF
##1E57971.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#225196
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1e5797;
/* rgb */ color: rgb(30, 87, 151);
/* oklch */ color: oklch(45.5% 0.120 254.1);
Tailwind
colors: {
  custom: {
    50: '#6d85b6',
    500: '#1e5797',
    950: '#000000',
  },
}
SCSS
$custom: #1e5797;
$custom-light: #6d85b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e5797",
  "rgb": {
    "r": 30,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 211.736,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45466,
    "c": 0.1198,
    "h": 254.1
  },
  "luminance": 0.09327
}

Semantic roles & 50–950 ramp

primary
#1E5797
secondary
#C08C51
accent
#993EEA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1E5797

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

Preview Lab → · Contrast checker → · Palette generator →

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