#1E5197#1E5197

#1E5197 is a dark, vivid cyan. Relative luminance 0.084; OKLCH L 44.1% C 0.127 H 257.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#1E5197
RGBrgb(30, 81, 151)
HSLhsl(215, 67%, 35%)
HSVhsv(215, 80%, 59%)
CMYKcmyk(80.1%, 46.4%, 0%, 40.8%)
CIE-LABlab(34.79, 9.49, -43.17)
CIE-LCHlch(34.79, 44.20, 282.40°)
OKLaboklab(44.06% -0.0277 -0.1238)
OKLCHoklch(44.06% 0.127 257.4)
XYZxyz(9.0617, 8.3942, 30.4148)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E5197 #97641E
analogous
#1E8D97 #1E5197 #281E97
triadic
#1E5197 #971E51 #51971E
tetradic
#1E5197 #971E8D #97641E #1E9728
square
#1E5197 #971E8D #97641E #1E9728
split-complementary
#1E5197 #97281E #8D971E
monochromatic
#0A1A31 #143664 #1E5197 #286CCA #538DDD

Accessibility & contrast

On white

7.84
#1E5197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#1E5197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E5197
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E5197#FFFFFF#000000##FFFFFF
##1E51971.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589A
Deuteranopia (green-blind)
#104D96
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1e5197;
/* rgb */ color: rgb(30, 81, 151);
/* oklch */ color: oklch(44.1% 0.127 257.4);
Tailwind
colors: {
  custom: {
    50: '#6d81b6',
    500: '#1e5197',
    950: '#000000',
  },
}
SCSS
$custom: #1e5197;
$custom-light: #6d81b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e5197",
  "rgb": {
    "r": 30,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 214.711,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4406,
    "c": 0.12691,
    "h": 257.4
  },
  "luminance": 0.08395
}

Semantic roles & 50–950 ramp

primary
#1E5197
secondary
#C09151
accent
#A13EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1E5197

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

Preview Lab → · Contrast checker → · Palette generator →

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