#1E288D#1E288D

#1E288D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.164 H 270.2°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#1E288D
RGBrgb(30, 40, 141)
HSLhsl(235, 65%, 34%)
HSVhsv(235, 79%, 55%)
CMYKcmyk(78.7%, 71.6%, 0%, 44.7%)
CIE-LABlab(22.71, 33.34, -56.68)
CIE-LCHlch(22.71, 65.76, 300.46°)
OKLaboklab(34.74% 0.0007 -0.1641)
OKLCHoklch(34.74% 0.164 270.2)
XYZxyz(6.1003, 3.7160, 25.5899)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E288D #8D831E
analogous
#1E5F8D #1E288D #4B1E8D
triadic
#1E288D #8D1E28 #288D1E
tetradic
#1E288D #8D1E5F #8D831E #1E8D4B
square
#1E288D #8D1E5F #8D831E #1E8D4B
split-complementary
#1E288D #8D4B1E #5F8D1E
monochromatic
#090B28 #131A5B #1E288D #2936BF #4C59D9

Accessibility & contrast

On white

12.05
#1E288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1E288D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E288D
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E288D#FFFFFF#000000##FFFFFF
##1E288D1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00318B
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e288d;
/* rgb */ color: rgb(30, 40, 141);
/* oklch */ color: oklch(34.7% 0.164 270.2);
Tailwind
colors: {
  custom: {
    50: '#6e62af',
    500: '#1e288d',
    950: '#000000',
  },
}
SCSS
$custom: #1e288d;
$custom-light: #6e62af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e288d",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 234.595,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34738,
    "c": 0.16411,
    "h": 270.2
  },
  "luminance": 0.03717
}

Semantic roles & 50–950 ramp

primary
#1E288D
secondary
#BCB14B
accent
#D940E8
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #1E288D

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

Preview Lab → · Contrast checker → · Palette generator →

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