#1E5198#1E5198

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

Color values

HEX#1E5198
RGBrgb(30, 81, 152)
HSLhsl(215, 67%, 36%)
HSVhsv(215, 80%, 60%)
CMYKcmyk(80.3%, 46.7%, 0%, 40.4%)
CIE-LABlab(34.86, 9.89, -43.67)
CIE-LCHlch(34.86, 44.77, 282.76°)
OKLaboklab(44.13% -0.0275 -0.1253)
OKLCHoklch(44.13% 0.128 257.6)
XYZxyz(9.1433, 8.4268, 30.8443)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E5198 #98651E
analogous
#1E8E98 #1E5198 #281E98
triadic
#1E5198 #981E51 #51981E
tetradic
#1E5198 #981E8E #98651E #1E9828
square
#1E5198 #981E8E #98651E #1E9828
split-complementary
#1E5198 #98281E #8E981E
monochromatic
#0A1B32 #143665 #1E5198 #286CCB #538DDD

Accessibility & contrast

On white

7.82
#1E5198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#1E5198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E5198
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E5198#FFFFFF#000000##FFFFFF
##1E51981.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B589B
Deuteranopia (green-blind)
#0D4D97
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1e5198;
/* rgb */ color: rgb(30, 81, 152);
/* oklch */ color: oklch(44.1% 0.128 257.6);
Tailwind
colors: {
  custom: {
    50: '#6e81b7',
    500: '#1e5198',
    950: '#000000',
  },
}
SCSS
$custom: #1e5198;
$custom-light: #6e81b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e5198",
  "rgb": {
    "r": 30,
    "g": 81,
    "b": 152
  },
  "hsl": {
    "h": 214.918,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44132,
    "c": 0.1283,
    "h": 257.6
  },
  "luminance": 0.08428
}

Semantic roles & 50–950 ramp

primary
#1E5198
secondary
#C09251
accent
#A23EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1E5198

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

Preview Lab → · Contrast checker → · Palette generator →

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