#1E2D8C#1E2D8C

#1E2D8C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.157 H 269.3°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#1E2D8C
RGBrgb(30, 45, 140)
HSLhsl(232, 65%, 33%)
HSVhsv(232, 79%, 55%)
CMYKcmyk(78.6%, 67.9%, 0%, 45.1%)
CIE-LABlab(23.82, 29.69, -54.23)
CIE-LCHlch(23.82, 61.83, 298.70°)
OKLaboklab(35.52% -0.002 -0.1569)
OKLCHoklch(35.52% 0.157 269.3)
XYZxyz(6.2058, 4.0456, 25.2597)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D8C #8C7D1E
analogous
#1E648C #1E2D8C #461E8C
triadic
#1E2D8C #8C1E2D #2D8C1E
tetradic
#1E2D8C #8C1E64 #8C7D1E #1E8C46
square
#1E2D8C #8C1E64 #8C7D1E #1E8C46
split-complementary
#1E2D8C #8C461E #648C1E
monochromatic
#080D27 #131D5A #1E2D8C #293DBE #4C5FD9

Accessibility & contrast

On white

11.61
#1E2D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1E2D8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D8C
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D8C#FFFFFF#000000##FFFFFF
##1E2D8C1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#00338A
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e2d8c;
/* rgb */ color: rgb(30, 45, 140);
/* oklch */ color: oklch(35.5% 0.157 269.3);
Tailwind
colors: {
  custom: {
    50: '#6d66af',
    500: '#1e2d8c',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d8c;
$custom-light: #6d66af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d8c",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 140
  },
  "hsl": {
    "h": 231.818,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35515,
    "c": 0.15695,
    "h": 269.3
  },
  "luminance": 0.04046
}

Semantic roles & 50–950 ramp

primary
#1E2D8C
secondary
#BBAC4B
accent
#D140E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1E2D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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