#1E2D9D#1E2D9D

#1E2D9D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.179 H 268.9°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#1E2D9D
RGBrgb(30, 45, 157)
HSLhsl(233, 68%, 37%)
HSVhsv(233, 81%, 62%)
CMYKcmyk(80.9%, 71.3%, 0%, 38.4%)
CIE-LABlab(25.52, 36.03, -61.91)
CIE-LCHlch(25.52, 71.63, 300.20°)
OKLaboklab(37.26% -0.0035 -0.1793)
OKLCHoklch(37.26% 0.179 268.9)
XYZxyz(7.5575, 4.5862, 32.3787)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D9D #9D8E1E
analogous
#1E6D9D #1E2D9D #4E1E9D
triadic
#1E2D9D #9D1E2D #2D9D1E
tetradic
#1E2D9D #9D1E6D #9D8E1E #1E9D4E
square
#1E2D9D #9D1E6D #9D8E1E #1E9D4E
split-complementary
#1E2D9D #9D4E1E #6D9D1E
monochromatic
#0A1036 #141E6A #1E2D9D #283CD0 #5767DF

Accessibility & contrast

On white

10.95
#1E2D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1E2D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D9D
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D9D#FFFFFF#000000##FFFFFF
##1E2D9D1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00369B
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e2d9d;
/* rgb */ color: rgb(30, 45, 157);
/* oklch */ color: oklch(37.3% 0.179 268.9);
Tailwind
colors: {
  custom: {
    50: '#7266bb',
    500: '#1e2d9d',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d9d;
$custom-light: #7266bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d9d",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 232.913,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37263,
    "c": 0.17936,
    "h": 268.9
  },
  "luminance": 0.04587
}

Semantic roles & 50–950 ramp

primary
#1E2D9D
secondary
#C2B554
accent
#D63DEB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1E2D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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