#1E2B87#1E2B87

#1E2B87 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.153 H 269.8°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#1E2B87
RGBrgb(30, 43, 135)
HSLhsl(233, 64%, 32%)
HSVhsv(233, 78%, 53%)
CMYKcmyk(77.8%, 68.1%, 0%, 47.1%)
CIE-LABlab(22.84, 29.13, -52.73)
CIE-LCHlch(22.84, 60.24, 298.91°)
OKLaboklab(34.65% -0.0004 -0.1526)
OKLCHoklch(34.65% 0.153 269.8)
XYZxyz(5.7710, 3.7524, 23.3371)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B87 #877A1E
analogous
#1E6087 #1E2B87 #451E87
triadic
#1E2B87 #871E2B #2B871E
tetradic
#1E2B87 #871E60 #877A1E #1E8745
square
#1E2B87 #871E60 #877A1E #1E8745
split-complementary
#1E2B87 #87451E #60871E
monochromatic
#080B23 #131B55 #1E2B87 #293BB9 #495AD7

Accessibility & contrast

On white

12.00
#1E2B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1E2B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2B87
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B87#FFFFFF#000000##FFFFFF
##1E2B871.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#003285
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e2b87;
/* rgb */ color: rgb(30, 43, 135);
/* oklch */ color: oklch(34.6% 0.153 269.8);
Tailwind
colors: {
  custom: {
    50: '#6c64ab',
    500: '#1e2b87',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b87;
$custom-light: #6c64ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b87",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 232.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34647,
    "c": 0.15257,
    "h": 269.8
  },
  "luminance": 0.03753
}

Semantic roles & 50–950 ramp

primary
#1E2B87
secondary
#B9AB48
accent
#D241E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1E2B87

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

Preview Lab → · Contrast checker → · Palette generator →

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