#1E2D9B#1E2D9B

#1E2D9B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.177 H 268.9°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#1E2D9B
RGBrgb(30, 45, 155)
HSLhsl(233, 68%, 36%)
HSVhsv(233, 81%, 61%)
CMYKcmyk(80.6%, 71%, 0%, 39.2%)
CIE-LABlab(25.32, 35.30, -61.02)
CIE-LCHlch(25.32, 70.50, 300.05°)
OKLaboklab(37.05% -0.0033 -0.1767)
OKLCHoklch(37.05% 0.177 268.9)
XYZxyz(7.3882, 4.5185, 31.4868)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D9B #9B8C1E
analogous
#1E6C9B #1E2D9B #4E1E9B
triadic
#1E2D9B #9B1E2D #2D9B1E
tetradic
#1E2D9B #9B1E6C #9B8C1E #1E9B4E
square
#1E2D9B #9B1E6C #9B8C1E #1E9B4E
split-complementary
#1E2D9B #9B4E1E #6C9B1E
monochromatic
#0A0F34 #141E68 #1E2D9B #283CCE #5566DE

Accessibility & contrast

On white

11.03
#1E2D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1E2D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D9B
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D9B#FFFFFF#000000##FFFFFF
##1E2D9B1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e2d9b;
/* rgb */ color: rgb(30, 45, 155);
/* oklch */ color: oklch(37.1% 0.177 268.9);
Tailwind
colors: {
  custom: {
    50: '#7166ba',
    500: '#1e2d9b',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d9b;
$custom-light: #7166ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d9b",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 232.8,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37053,
    "c": 0.17678,
    "h": 268.9
  },
  "luminance": 0.04519
}

Semantic roles & 50–950 ramp

primary
#1E2D9B
secondary
#C2B453
accent
#D63DEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1E2D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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