#1E2174#1E2174

#1E2174 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.139 H 273.3°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#1E2174
RGBrgb(30, 33, 116)
HSLhsl(238, 59%, 29%)
HSVhsv(238, 74%, 45%)
CMYKcmyk(74.1%, 71.6%, 0%, 54.5%)
CIE-LABlab(18.47, 28.61, -47.84)
CIE-LCHlch(18.47, 55.75, 300.88°)
OKLaboklab(30.9% 0.0079 -0.1383)
OKLCHoklch(30.9% 0.139 273.3)
XYZxyz(4.2306, 2.6243, 16.8032)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2174 #74711E
analogous
#1E4C74 #1E2174 #461E74
triadic
#1E2174 #741E21 #21741E
tetradic
#1E2174 #741E4C #74711E #1E7446
square
#1E2174 #741E4C #74711E #1E7446
split-complementary
#1E2174 #74461E #4C741E
monochromatic
#060718 #111343 #1E2174 #2B2FA5 #3F44CD

Accessibility & contrast

On white

13.77
#1E2174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1E2174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2174
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2174#FFFFFF#000000##FFFFFF
##1E21741.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#002972
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e2174;
/* rgb */ color: rgb(30, 33, 116);
/* oklch */ color: oklch(30.9% 0.139 273.3);
Tailwind
colors: {
  custom: {
    50: '#685d9d',
    500: '#1e2174',
    950: '#000000',
  },
}
SCSS
$custom: #1e2174;
$custom-light: #685d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2174",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 237.907,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30902,
    "c": 0.13853,
    "h": 273.3
  },
  "luminance": 0.02625
}

Semantic roles & 50–950 ramp

primary
#1E2174
secondary
#A8A546
accent
#DD46E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1E2174

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

Preview Lab → · Contrast checker → · Palette generator →

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