#1E5097#1E5097

#1E5097 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.8% C 0.128 H 257.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#1E5097
RGBrgb(30, 80, 151)
HSLhsl(215, 67%, 35%)
HSVhsv(215, 80%, 59%)
CMYKcmyk(80.1%, 47%, 0%, 40.8%)
CIE-LABlab(34.49, 10.16, -43.65)
CIE-LCHlch(34.49, 44.82, 283.10°)
OKLaboklab(43.83% -0.0268 -0.1253)
OKLCHoklch(43.83% 0.128 257.9)
XYZxyz(8.9879, 8.2466, 30.3902)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E5097 #97651E
analogous
#1E8C97 #1E5097 #291E97
triadic
#1E5097 #971E50 #50971E
tetradic
#1E5097 #971E8C #97651E #1E9729
square
#1E5097 #971E8C #97651E #1E9729
split-complementary
#1E5097 #97291E #8C971E
monochromatic
#0A1A31 #143564 #1E5097 #286BCA #538CDD

Accessibility & contrast

On white

7.93
#1E5097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#1E5097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E5097
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E5097#FFFFFF#000000##FFFFFF
##1E50971.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A579A
Deuteranopia (green-blind)
#0B4C96
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1e5097;
/* rgb */ color: rgb(30, 80, 151);
/* oklch */ color: oklch(43.8% 0.128 257.9);
Tailwind
colors: {
  custom: {
    50: '#6d80b6',
    500: '#1e5097',
    950: '#000000',
  },
}
SCSS
$custom: #1e5097;
$custom-light: #6d80b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e5097",
  "rgb": {
    "r": 30,
    "g": 80,
    "b": 151
  },
  "hsl": {
    "h": 215.207,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43829,
    "c": 0.12812,
    "h": 257.9
  },
  "luminance": 0.08248
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E5097

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

Preview Lab → · Contrast checker → · Palette generator →

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