#1E5796#1E5796

#1E5796 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.4% C 0.118 H 253.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#1E5796
RGBrgb(30, 87, 150)
HSLhsl(212, 67%, 35%)
HSVhsv(212, 80%, 59%)
CMYKcmyk(80%, 42%, 0%, 41.2%)
CIE-LABlab(36.54, 5.13, -39.76)
CIE-LCHlch(36.54, 40.09, 277.35°)
OKLaboklab(45.4% -0.0331 -0.1137)
OKLCHoklch(45.4% 0.118 253.8)
XYZxyz(9.4466, 9.2933, 30.1442)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E5796 #965D1E
analogous
#1E9396 #1E5796 #211E96
triadic
#1E5796 #961E57 #57961E
tetradic
#1E5796 #961E93 #965D1E #1E9621
square
#1E5796 #961E93 #965D1E #1E9621
split-complementary
#1E5796 #96211E #93961E
monochromatic
#0A1C30 #143963 #1E5796 #2875C9 #5294DC

Accessibility & contrast

On white

7.35
#1E5796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#1E5796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E5796
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E5796#FFFFFF#000000##FFFFFF
##1E57961.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e5796;
/* rgb */ color: rgb(30, 87, 150);
/* oklch */ color: oklch(45.4% 0.118 253.8);
Tailwind
colors: {
  custom: {
    50: '#6d85b5',
    500: '#1e5796',
    950: '#000000',
  },
}
SCSS
$custom: #1e5796;
$custom-light: #6d85b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e5796",
  "rgb": {
    "r": 30,
    "g": 87,
    "b": 150
  },
  "hsl": {
    "h": 211.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45399,
    "c": 0.11843,
    "h": 253.8
  },
  "luminance": 0.09294
}

Semantic roles & 50–950 ramp

primary
#1E5796
secondary
#BF8B50
accent
#983EEA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1E5796

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

Preview Lab → · Contrast checker → · Palette generator →

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