#1E2B8E#1E2B8E

#1E2B8E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.162 H 269.6°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#1E2B8E
RGBrgb(30, 43, 142)
HSLhsl(233, 65%, 34%)
HSVhsv(233, 79%, 56%)
CMYKcmyk(78.9%, 69.7%, 0%, 44.3%)
CIE-LABlab(23.53, 31.77, -55.96)
CIE-LCHlch(23.53, 64.35, 299.58°)
OKLaboklab(35.36% -0.001 -0.162)
OKLCHoklch(35.36% 0.162 269.6)
XYZxyz(6.2801, 3.9561, 26.0186)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B8E #8E811E
analogous
#1E638E #1E2B8E #491E8E
triadic
#1E2B8E #8E1E2B #2B8E1E
tetradic
#1E2B8E #8E1E63 #8E811E #1E8E49
square
#1E2B8E #8E1E63 #8E811E #1E8E49
split-complementary
#1E2B8E #8E491E #638E1E
monochromatic
#090C29 #131C5B #1E2B8E #293AC1 #4D5DD9

Accessibility & contrast

On white

11.72
#1E2B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1E2B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2B8E
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B8E#FFFFFF#000000##FFFFFF
##1E2B8E1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e2b8e;
/* rgb */ color: rgb(30, 43, 142);
/* oklch */ color: oklch(35.4% 0.162 269.6);
Tailwind
colors: {
  custom: {
    50: '#6e64b0',
    500: '#1e2b8e',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b8e;
$custom-light: #6e64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b8e",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 233.036,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35359,
    "c": 0.162,
    "h": 269.6
  },
  "luminance": 0.03957
}

Semantic roles & 50–950 ramp

primary
#1E2B8E
secondary
#BCAF4C
accent
#D540E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #1E2B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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