#1E2190#1E2190

#1E2190 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.175 H 271.1°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#1E2190
RGBrgb(30, 33, 144)
HSLhsl(238, 66%, 34%)
HSVhsv(238, 79%, 56%)
CMYKcmyk(79.2%, 77.1%, 0%, 43.5%)
CIE-LABlab(21.49, 38.70, -60.55)
CIE-LCHlch(21.49, 71.87, 302.58°)
OKLaboklab(33.97% 0.0034 -0.1753)
OKLCHoklch(33.97% 0.175 271.1)
XYZxyz(6.1116, 3.3767, 26.7098)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2190 #908D1E
analogous
#1E5A90 #1E2190 #541E90
triadic
#1E2190 #901E21 #21901E
tetradic
#1E2190 #901E5A #908D1E #1E9054
square
#1E2190 #901E5A #908D1E #1E9054
split-complementary
#1E2190 #90541E #5A901E
monochromatic
#090A2B #13155D #1E2190 #292DC3 #4E52DA

Accessibility & contrast

On white

12.53
#1E2190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1E2190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2190
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2190#FFFFFF#000000##FFFFFF
##1E21901.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#002E8E
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2190;
/* rgb */ color: rgb(30, 33, 144);
/* oklch */ color: oklch(34.0% 0.175 271.1);
Tailwind
colors: {
  custom: {
    50: '#6f5eb2',
    500: '#1e2190',
    950: '#000000',
  },
}
SCSS
$custom: #1e2190;
$custom-light: #6f5eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2190",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 238.421,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.33965,
    "c": 0.17537,
    "h": 271.1
  },
  "luminance": 0.03377
}

Semantic roles & 50–950 ramp

primary
#1E2190
secondary
#BDBA4D
accent
#E43FE8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E2190

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

Preview Lab → · Contrast checker → · Palette generator →

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