#1E2289#1E2289

#1E2289 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.165 H 271.4°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#1E2289
RGBrgb(30, 34, 137)
HSLhsl(238, 64%, 33%)
HSVhsv(238, 78%, 54%)
CMYKcmyk(78.1%, 75.2%, 0%, 46.3%)
CIE-LABlab(20.93, 35.64, -57.13)
CIE-LCHlch(20.93, 67.34, 301.96°)
OKLaboklab(33.33% 0.0042 -0.1654)
OKLCHoklch(33.33% 0.165 271.4)
XYZxyz(5.6213, 3.2256, 23.9884)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2289 #89851E
analogous
#1E5789 #1E2289 #4F1E89
triadic
#1E2289 #891E22 #22891E
tetradic
#1E2289 #891E57 #89851E #1E894F
square
#1E2289 #891E57 #89851E #1E894F
split-complementary
#1E2289 #894F1E #57891E
monochromatic
#080925 #131657 #1E2289 #292EBB #4A4FD7

Accessibility & contrast

On white

12.76
#1E2289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1E2289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2289
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2289#FFFFFF#000000##FFFFFF
##1E22891.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#002D87
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2289;
/* rgb */ color: rgb(30, 34, 137);
/* oklch */ color: oklch(33.3% 0.165 271.4);
Tailwind
colors: {
  custom: {
    50: '#6d5ead',
    500: '#1e2289',
    950: '#000000',
  },
}
SCSS
$custom: #1e2289;
$custom-light: #6d5ead;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2289",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 237.757,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33331,
    "c": 0.16544,
    "h": 271.4
  },
  "luminance": 0.03226
}

Semantic roles & 50–950 ramp

primary
#1E2289
secondary
#BAB649
accent
#E141E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E2289

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

Preview Lab → · Contrast checker → · Palette generator →

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