#1E2B9D#1E2B9D

#1E2B9D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.182 H 269.2°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#1E2B9D
RGBrgb(30, 43, 157)
HSLhsl(234, 68%, 37%)
HSVhsv(234, 81%, 62%)
CMYKcmyk(80.9%, 72.6%, 0%, 38.4%)
CIE-LABlab(25.07, 37.28, -62.65)
CIE-LCHlch(25.07, 72.91, 300.76°)
OKLaboklab(36.94% -0.0027 -0.1815)
OKLCHoklch(36.94% 0.182 269.2)
XYZxyz(7.4830, 4.4372, 32.3538)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B9D #9D901E
analogous
#1E6B9D #1E2B9D #511E9D
triadic
#1E2B9D #9D1E2B #2B9D1E
tetradic
#1E2B9D #9D1E6B #9D901E #1E9D51
square
#1E2B9D #9D1E6B #9D901E #1E9D51
split-complementary
#1E2B9D #9D511E #6B9D1E
monochromatic
#0A0F36 #141D6A #1E2B9D #2839D0 #5765DF

Accessibility & contrast

On white

11.13
#1E2B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1E2B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2B9D
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B9D#FFFFFF#000000##FFFFFF
##1E2B9D1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1e2b9d;
/* rgb */ color: rgb(30, 43, 157);
/* oklch */ color: oklch(36.9% 0.182 269.2);
Tailwind
colors: {
  custom: {
    50: '#7265bb',
    500: '#1e2b9d',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b9d;
$custom-light: #7265bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b9d",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 157
  },
  "hsl": {
    "h": 233.858,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36936,
    "c": 0.18153,
    "h": 269.2
  },
  "luminance": 0.04438
}

Semantic roles & 50–950 ramp

primary
#1E2B9D
secondary
#C2B754
accent
#D93DEB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #1E2B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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