#1E2A9B#1E2A9B

#1E2A9B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.180 H 269.4°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#1E2A9B
RGBrgb(30, 42, 155)
HSLhsl(234, 68%, 36%)
HSVhsv(234, 81%, 61%)
CMYKcmyk(80.6%, 72.9%, 0%, 39.2%)
CIE-LABlab(24.63, 37.18, -62.15)
CIE-LCHlch(24.63, 72.42, 300.89°)
OKLaboklab(36.56% -0.002 -0.18)
OKLCHoklch(36.56% 0.18 269.4)
XYZxyz(7.2777, 4.2977, 31.4500)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A9B #9B8F1E
analogous
#1E699B #1E2A9B #511E9B
triadic
#1E2A9B #9B1E2A #2A9B1E
tetradic
#1E2A9B #9B1E69 #9B8F1E #1E9B51
square
#1E2A9B #9B1E69 #9B8F1E #1E9B51
split-complementary
#1E2A9B #9B511E #699B1E
monochromatic
#0A0E34 #141C68 #1E2A9B #2838CE #5562DE

Accessibility & contrast

On white

11.29
#1E2A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1E2A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A9B
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A9B#FFFFFF#000000##FFFFFF
##1E2A9B1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003499
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e2a9b;
/* rgb */ color: rgb(30, 42, 155);
/* oklch */ color: oklch(36.6% 0.180 269.4);
Tailwind
colors: {
  custom: {
    50: '#7164ba',
    500: '#1e2a9b',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a9b;
$custom-light: #7164ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a9b",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 234.24,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3656,
    "c": 0.18005,
    "h": 269.4
  },
  "luminance": 0.04299
}

Semantic roles & 50–950 ramp

primary
#1E2A9B
secondary
#C2B753
accent
#DA3DEA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #1E2A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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