#1E2B88#1E2B88

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

Color values

HEX#1E2B88
RGBrgb(30, 43, 136)
HSLhsl(233, 64%, 33%)
HSVhsv(233, 78%, 53%)
CMYKcmyk(77.9%, 68.4%, 0%, 46.7%)
CIE-LABlab(22.93, 29.51, -53.20)
CIE-LCHlch(22.93, 60.83, 299.01°)
OKLaboklab(34.75% -0.0005 -0.1539)
OKLCHoklch(34.75% 0.154 269.8)
XYZxyz(5.8417, 3.7807, 23.7097)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B88 #887B1E
analogous
#1E6088 #1E2B88 #461E88
triadic
#1E2B88 #881E2B #2B881E
tetradic
#1E2B88 #881E60 #887B1E #1E8846
square
#1E2B88 #881E60 #887B1E #1E8846
split-complementary
#1E2B88 #88461E #60881E
monochromatic
#080B24 #131B56 #1E2B88 #293BBA #495BD7

Accessibility & contrast

On white

11.96
#1E2B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1E2B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2B88
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B88#FFFFFF#000000##FFFFFF
##1E2B881.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2b88;
/* rgb */ color: rgb(30, 43, 136);
/* oklch */ color: oklch(34.7% 0.154 269.8);
Tailwind
colors: {
  custom: {
    50: '#6c64ac',
    500: '#1e2b88',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b88;
$custom-light: #6c64ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b88",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 232.642,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34748,
    "c": 0.15393,
    "h": 269.8
  },
  "luminance": 0.03781
}

Semantic roles & 50–950 ramp

primary
#1E2B88
secondary
#B9AB49
accent
#D341E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1E2B88

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

Preview Lab → · Contrast checker → · Palette generator →

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