#1E2D88#1E2D88

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

Color values

HEX#1E2D88
RGBrgb(30, 45, 136)
HSLhsl(232, 64%, 33%)
HSVhsv(232, 78%, 53%)
CMYKcmyk(77.9%, 66.9%, 0%, 46.7%)
CIE-LABlab(23.44, 28.16, -52.37)
CIE-LCHlch(23.44, 59.46, 298.27°)
OKLaboklab(35.12% -0.0017 -0.1515)
OKLCHoklch(35.12% 0.152 269.3)
XYZxyz(5.9162, 3.9297, 23.7345)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D88 #88791E
analogous
#1E6288 #1E2D88 #441E88
triadic
#1E2D88 #881E2D #2D881E
tetradic
#1E2D88 #881E62 #88791E #1E8844
square
#1E2D88 #881E62 #88791E #1E8844
split-complementary
#1E2D88 #88441E #62881E
monochromatic
#080C24 #131C56 #1E2D88 #293EBA #495DD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1E2D88#FFFFFF#000000##FFFFFF
##1E2D881.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)
#003D8B
Deuteranopia (green-blind)
#003386
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e2d88;
/* rgb */ color: rgb(30, 45, 136);
/* oklch */ color: oklch(35.1% 0.151 269.3);
Tailwind
colors: {
  custom: {
    50: '#6c66ac',
    500: '#1e2d88',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d88;
$custom-light: #6c66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d88",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 231.509,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35117,
    "c": 0.1515,
    "h": 269.3
  },
  "luminance": 0.0393
}

Semantic roles & 50–950 ramp

primary
#1E2D88
secondary
#B9A949
accent
#CF41E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1E2D88

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

Preview Lab → · Contrast checker → · Palette generator →

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