#1E2392#1E2392

#1E2392 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.176 H 270.7°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#1E2392
RGBrgb(30, 35, 146)
HSLhsl(237, 66%, 35%)
HSVhsv(237, 79%, 57%)
CMYKcmyk(79.5%, 76%, 0%, 42.7%)
CIE-LABlab(22.13, 38.23, -60.74)
CIE-LCHlch(22.13, 71.76, 302.19°)
OKLaboklab(34.49% 0.0022 -0.1759)
OKLCHoklch(34.49% 0.176 270.7)
XYZxyz(6.3230, 3.5527, 27.5411)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2392 #928D1E
analogous
#1E5D92 #1E2392 #531E92
triadic
#1E2392 #921E23 #23921E
tetradic
#1E2392 #921E5D #928D1E #1E9253
square
#1E2392 #921E5D #928D1E #1E9253
split-complementary
#1E2392 #92531E #5D921E
monochromatic
#090B2C #14175F #1E2392 #282FC5 #4F55DB

Accessibility & contrast

On white

12.28
#1E2392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1E2392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2392
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2392#FFFFFF#000000##FFFFFF
##1E23921.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#002F90
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e2392;
/* rgb */ color: rgb(30, 35, 146);
/* oklch */ color: oklch(34.5% 0.176 270.7);
Tailwind
colors: {
  custom: {
    50: '#705fb3',
    500: '#1e2392',
    950: '#000000',
  },
}
SCSS
$custom: #1e2392;
$custom-light: #705fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2392",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 237.414,
    "s": 65.909,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34486,
    "c": 0.17589,
    "h": 270.7
  },
  "luminance": 0.03553
}

Semantic roles & 50–950 ramp

primary
#1E2392
secondary
#BEB94E
accent
#E23FE9
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1E2392

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

Preview Lab → · Contrast checker → · Palette generator →

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