#1E2790#1E2790

#1E2790 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.169 H 270.3°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#1E2790
RGBrgb(30, 39, 144)
HSLhsl(235, 66%, 34%)
HSVhsv(235, 79%, 56%)
CMYKcmyk(79.2%, 72.9%, 0%, 43.5%)
CIE-LABlab(22.79, 35.07, -58.41)
CIE-LCHlch(22.79, 68.13, 300.98°)
OKLaboklab(34.89% 0.0008 -0.1691)
OKLCHoklch(34.89% 0.169 270.3)
XYZxyz(6.2933, 3.7400, 26.7704)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2790 #90871E
analogous
#1E6090 #1E2790 #4E1E90
triadic
#1E2790 #901E27 #27901E
tetradic
#1E2790 #901E60 #90871E #1E904E
square
#1E2790 #901E60 #90871E #1E904E
split-complementary
#1E2790 #904E1E #60901E
monochromatic
#090C2B #13195D #1E2790 #2935C3 #4E59DA

Accessibility & contrast

On white

12.01
#1E2790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1E2790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2790
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2790#FFFFFF#000000##FFFFFF
##1E27901.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e2790;
/* rgb */ color: rgb(30, 39, 144);
/* oklch */ color: oklch(34.9% 0.169 270.3);
Tailwind
colors: {
  custom: {
    50: '#6f62b2',
    500: '#1e2790',
    950: '#000000',
  },
}
SCSS
$custom: #1e2790;
$custom-light: #6f62b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2790",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 235.263,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34891,
    "c": 0.16914,
    "h": 270.3
  },
  "luminance": 0.03741
}

Semantic roles & 50–950 ramp

primary
#1E2790
secondary
#BDB44D
accent
#DB3FE8
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1E2790

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

Preview Lab → · Contrast checker → · Palette generator →

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