#1E2C9D#1E2C9D

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

Color values

HEX#1E2C9D
RGBrgb(30, 44, 157)
HSLhsl(233, 68%, 37%)
HSVhsv(233, 81%, 62%)
CMYKcmyk(80.9%, 72%, 0%, 38.4%)
CIE-LABlab(25.29, 36.66, -62.28)
CIE-LCHlch(25.29, 72.27, 300.48°)
OKLaboklab(37.1% -0.0031 -0.1804)
OKLCHoklch(37.1% 0.18 269)
XYZxyz(7.5198, 4.5108, 32.3661)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C9D #9D8F1E
analogous
#1E6C9D #1E2C9D #501E9D
triadic
#1E2C9D #9D1E2C #2C9D1E
tetradic
#1E2C9D #9D1E6C #9D8F1E #1E9D50
square
#1E2C9D #9D1E6C #9D8F1E #1E9D50
split-complementary
#1E2C9D #9D501E #6C9D1E
monochromatic
#0A0F36 #141E6A #1E2C9D #283AD0 #5766DF

Accessibility & contrast

On white

11.04
#1E2C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2C9D
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C9D#FFFFFF#000000##FFFFFF
##1E2C9D1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2c9d;
/* rgb */ color: rgb(30, 44, 157);
/* oklch */ color: oklch(37.1% 0.180 269.0);
Tailwind
colors: {
  custom: {
    50: '#7266bb',
    500: '#1e2c9d',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c9d;
$custom-light: #7266bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c9d",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 157
  },
  "hsl": {
    "h": 233.386,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37098,
    "c": 0.18045,
    "h": 269
  },
  "luminance": 0.04512
}

Semantic roles & 50–950 ramp

primary
#1E2C9D
secondary
#C2B654
accent
#D83DEB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1E2C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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