#1E2170#1E2170

#1E2170 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.133 H 273.6°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#1E2170
RGBrgb(30, 33, 112)
HSLhsl(238, 58%, 28%)
HSVhsv(238, 73%, 44%)
CMYKcmyk(73.2%, 70.5%, 0%, 56.1%)
CIE-LABlab(18.07, 27.11, -45.92)
CIE-LCHlch(18.07, 53.33, 300.56°)
OKLaboklab(30.49% 0.0084 -0.1327)
OKLCHoklch(30.49% 0.133 273.6)
XYZxyz(4.0029, 2.5332, 15.6041)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2170 #706D1E
analogous
#1E4A70 #1E2170 #441E70
triadic
#1E2170 #701E21 #21701E
tetradic
#1E2170 #701E4A #706D1E #1E7044
square
#1E2170 #701E4A #706D1E #1E7044
split-complementary
#1E2170 #70441E #4A701E
monochromatic
#060718 #111340 #1E2170 #2B2FA0 #3D42CB

Accessibility & contrast

On white

13.94
#1E2170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1E2170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2170
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2170#FFFFFF#000000##FFFFFF
##1E21701.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003072
Deuteranopia (green-blind)
#00286F
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e2170;
/* rgb */ color: rgb(30, 33, 112);
/* oklch */ color: oklch(30.5% 0.133 273.6);
Tailwind
colors: {
  custom: {
    50: '#675c9a',
    500: '#1e2170',
    950: '#000000',
  },
}
SCSS
$custom: #1e2170;
$custom-light: #675c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2170",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 237.805,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30487,
    "c": 0.13296,
    "h": 273.6
  },
  "luminance": 0.02534
}

Semantic roles & 50–950 ramp

primary
#1E2170
secondary
#A4A146
accent
#DB47E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1E2170

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

Preview Lab → · Contrast checker → · Palette generator →

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