#1E2394#1E2394

#1E2394 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.178 H 270.6°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#1E2394
RGBrgb(30, 35, 148)
HSLhsl(237, 66%, 35%)
HSVhsv(237, 80%, 58%)
CMYKcmyk(79.7%, 76.4%, 0%, 42%)
CIE-LABlab(22.36, 38.93, -61.60)
CIE-LCHlch(22.36, 72.87, 302.29°)
OKLaboklab(34.71% 0.0019 -0.1784)
OKLCHoklch(34.71% 0.178 270.6)
XYZxyz(6.4799, 3.6155, 28.3676)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2394 #948F1E
analogous
#1E5E94 #1E2394 #541E94
triadic
#1E2394 #941E23 #23941E
tetradic
#1E2394 #941E5E #948F1E #1E9454
square
#1E2394 #941E5E #948F1E #1E9454
split-complementary
#1E2394 #94541E #5E941E
monochromatic
#090B2E #141761 #1E2394 #282FC7 #5157DC

Accessibility & contrast

On white

12.19
#1E2394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1E2394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2394
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2394#FFFFFF#000000##FFFFFF
##1E23941.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B97
Deuteranopia (green-blind)
#002F92
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e2394;
/* rgb */ color: rgb(30, 35, 148);
/* oklch */ color: oklch(34.7% 0.178 270.6);
Tailwind
colors: {
  custom: {
    50: '#705fb5',
    500: '#1e2394',
    950: '#000000',
  },
}
SCSS
$custom: #1e2394;
$custom-light: #705fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2394",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 237.458,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3471,
    "c": 0.17842,
    "h": 270.6
  },
  "luminance": 0.03616
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E2394

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

Preview Lab → · Contrast checker → · Palette generator →

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