#1E2292#1E2292

#1E2292 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.177 H 270.8°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#1E2292
RGBrgb(30, 34, 146)
HSLhsl(238, 66%, 35%)
HSVhsv(238, 79%, 57%)
CMYKcmyk(79.5%, 76.7%, 0%, 42.7%)
CIE-LABlab(21.93, 38.82, -61.08)
CIE-LCHlch(21.93, 72.37, 302.43°)
OKLaboklab(34.34% 0.0026 -0.1769)
OKLCHoklch(34.34% 0.177 270.8)
XYZxyz(6.2940, 3.4947, 27.5314)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2292 #928E1E
analogous
#1E5C92 #1E2292 #541E92
triadic
#1E2292 #921E22 #22921E
tetradic
#1E2292 #921E5C #928E1E #1E9254
square
#1E2292 #921E5C #928E1E #1E9254
split-complementary
#1E2292 #92541E #5C921E
monochromatic
#090A2C #14165F #1E2292 #282EC5 #4F54DB

Accessibility & contrast

On white

12.36
#1E2292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1E2292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2292
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2292#FFFFFF#000000##FFFFFF
##1E22921.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A95
Deuteranopia (green-blind)
#002F90
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2292;
/* rgb */ color: rgb(30, 34, 146);
/* oklch */ color: oklch(34.3% 0.177 270.8);
Tailwind
colors: {
  custom: {
    50: '#705fb3',
    500: '#1e2292',
    950: '#000000',
  },
}
SCSS
$custom: #1e2292;
$custom-light: #705fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2292",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 237.931,
    "s": 65.909,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34337,
    "c": 0.1769,
    "h": 270.8
  },
  "luminance": 0.03495
}

Semantic roles & 50–950 ramp

primary
#1E2292
secondary
#BEBA4E
accent
#E33FE9
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E2292

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

Preview Lab → · Contrast checker → · Palette generator →

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