#1E2D8E#1E2D8E

#1E2D8E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.160 H 269.2°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#1E2D8E
RGBrgb(30, 45, 142)
HSLhsl(232, 65%, 34%)
HSVhsv(232, 79%, 56%)
CMYKcmyk(78.9%, 68.3%, 0%, 44.3%)
CIE-LABlab(24.02, 30.45, -55.16)
CIE-LCHlch(24.02, 63.00, 298.90°)
OKLaboklab(35.72% -0.0021 -0.1596)
OKLCHoklch(35.72% 0.16 269.2)
XYZxyz(6.3546, 4.1051, 26.0434)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D8E #8E7F1E
analogous
#1E658E #1E2D8E #471E8E
triadic
#1E2D8E #8E1E2D #2D8E1E
tetradic
#1E2D8E #8E1E65 #8E7F1E #1E8E47
square
#1E2D8E #8E1E65 #8E7F1E #1E8E47
split-complementary
#1E2D8E #8E471E #658E1E
monochromatic
#090D29 #131D5B #1E2D8E #293DC1 #4D60D9

Accessibility & contrast

On white

11.53
#1E2D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1E2D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D8E
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D8E#FFFFFF#000000##FFFFFF
##1E2D8E1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e2d8e;
/* rgb */ color: rgb(30, 45, 142);
/* oklch */ color: oklch(35.7% 0.160 269.2);
Tailwind
colors: {
  custom: {
    50: '#6e66b0',
    500: '#1e2d8e',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d8e;
$custom-light: #6e66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d8e",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 231.964,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35716,
    "c": 0.15965,
    "h": 269.2
  },
  "luminance": 0.04106
}

Semantic roles & 50–950 ramp

primary
#1E2D8E
secondary
#BCAD4C
accent
#D240E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1E2D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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