#1E2D86#1E2D86

#1E2D86 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.149 H 269.4°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#1E2D86
RGBrgb(30, 45, 134)
HSLhsl(231, 63%, 32%)
HSVhsv(231, 78%, 53%)
CMYKcmyk(77.6%, 66.4%, 0%, 47.5%)
CIE-LABlab(23.25, 27.40, -51.43)
CIE-LCHlch(23.25, 58.27, 298.04°)
OKLaboklab(34.92% -0.0016 -0.1487)
OKLCHoklch(34.92% 0.149 269.4)
XYZxyz(5.7754, 3.8734, 22.9929)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D86 #86771E
analogous
#1E6186 #1E2D86 #431E86
triadic
#1E2D86 #861E2D #2D861E
tetradic
#1E2D86 #861E61 #86771E #1E8643
square
#1E2D86 #861E61 #86771E #1E8643
split-complementary
#1E2D86 #86431E #61861E
monochromatic
#080B22 #131C54 #1E2D86 #293EB8 #485DD6

Accessibility & contrast

On white

11.83
#1E2D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1E2D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D86
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D86#FFFFFF#000000##FFFFFF
##1E2D861.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e2d86;
/* rgb */ color: rgb(30, 45, 134);
/* oklch */ color: oklch(34.9% 0.149 269.4);
Tailwind
colors: {
  custom: {
    50: '#6b66aa',
    500: '#1e2d86',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d86;
$custom-light: #6b66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d86",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 231.346,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3492,
    "c": 0.14875,
    "h": 269.4
  },
  "luminance": 0.03874
}

Semantic roles & 50–950 ramp

primary
#1E2D86
secondary
#B8A847
accent
#CF41E6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1E2D86

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

Preview Lab → · Contrast checker → · Palette generator →

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