#1E2888#1E2888

#1E2888 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.157 H 270.4°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#1E2888
RGBrgb(30, 40, 136)
HSLhsl(234, 64%, 33%)
HSVhsv(234, 78%, 53%)
CMYKcmyk(77.9%, 70.6%, 0%, 46.7%)
CIE-LABlab(22.20, 31.48, -54.41)
CIE-LCHlch(22.20, 62.86, 300.06°)
OKLaboklab(34.21% 0.0012 -0.1575)
OKLCHoklch(34.21% 0.157 270.4)
XYZxyz(5.7366, 3.5706, 23.6746)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2888 #887E1E
analogous
#1E5D88 #1E2888 #491E88
triadic
#1E2888 #881E28 #28881E
tetradic
#1E2888 #881E5D #887E1E #1E8849
square
#1E2888 #881E5D #887E1E #1E8849
split-complementary
#1E2888 #88491E #5D881E
monochromatic
#080B24 #131956 #1E2888 #2937BA #4957D7

Accessibility & contrast

On white

12.25
#1E2888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1E2888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2888
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2888#FFFFFF#000000##FFFFFF
##1E28881.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003086
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e2888;
/* rgb */ color: rgb(30, 40, 136);
/* oklch */ color: oklch(34.2% 0.157 270.4);
Tailwind
colors: {
  custom: {
    50: '#6c62ac',
    500: '#1e2888',
    950: '#000000',
  },
}
SCSS
$custom: #1e2888;
$custom-light: #6c62ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2888",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 136
  },
  "hsl": {
    "h": 234.34,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34213,
    "c": 0.15747,
    "h": 270.4
  },
  "luminance": 0.03571
}

Semantic roles & 50–950 ramp

primary
#1E2888
secondary
#B9AF49
accent
#D741E7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2888

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

Preview Lab → · Contrast checker → · Palette generator →

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