#1E2B8D#1E2B8D

#1E2B8D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.161 H 269.7°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#1E2B8D
RGBrgb(30, 43, 141)
HSLhsl(233, 65%, 34%)
HSVhsv(233, 79%, 55%)
CMYKcmyk(78.7%, 69.5%, 0%, 44.7%)
CIE-LABlab(23.43, 31.39, -55.50)
CIE-LCHlch(23.43, 63.77, 299.49°)
OKLaboklab(35.26% -0.0009 -0.1607)
OKLCHoklch(35.26% 0.161 269.7)
XYZxyz(6.2054, 3.9262, 25.6249)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B8D #8D801E
analogous
#1E628D #1E2B8D #481E8D
triadic
#1E2B8D #8D1E2B #2B8D1E
tetradic
#1E2B8D #8D1E62 #8D801E #1E8D48
square
#1E2B8D #8D1E62 #8D801E #1E8D48
split-complementary
#1E2B8D #8D481E #628D1E
monochromatic
#090C28 #131C5B #1E2B8D #293ABF #4C5DD9

Accessibility & contrast

On white

11.76
#1E2B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2B8D
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B8D#FFFFFF#000000##FFFFFF
##1E2B8D1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e2b8d;
/* rgb */ color: rgb(30, 43, 141);
/* oklch */ color: oklch(35.3% 0.161 269.7);
Tailwind
colors: {
  custom: {
    50: '#6e64af',
    500: '#1e2b8d',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b8d;
$custom-light: #6e64af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b8d",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 232.973,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35256,
    "c": 0.16066,
    "h": 269.7
  },
  "luminance": 0.03927
}

Semantic roles & 50–950 ramp

primary
#1E2B8D
secondary
#BCAE4B
accent
#D440E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1E2B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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