#1E288E#1E288E

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

Color values

HEX#1E288E
RGBrgb(30, 40, 142)
HSLhsl(235, 65%, 34%)
HSVhsv(235, 79%, 56%)
CMYKcmyk(78.9%, 71.8%, 0%, 44.3%)
CIE-LABlab(22.81, 33.71, -57.13)
CIE-LCHlch(22.81, 66.34, 300.54°)
OKLaboklab(34.84% 0.0005 -0.1654)
OKLCHoklch(34.84% 0.165 270.2)
XYZxyz(6.1750, 3.7459, 25.9835)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E288E #8E841E
analogous
#1E608E #1E288E #4C1E8E
triadic
#1E288E #8E1E28 #288E1E
tetradic
#1E288E #8E1E60 #8E841E #1E8E4C
square
#1E288E #8E1E60 #8E841E #1E8E4C
split-complementary
#1E288E #8E4C1E #608E1E
monochromatic
#090C29 #131A5B #1E288E #2936C1 #4D5AD9

Accessibility & contrast

On white

12.00
#1E288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1E288E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E288E
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E288E#FFFFFF#000000##FFFFFF
##1E288E1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00318C
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e288e;
/* rgb */ color: rgb(30, 40, 142);
/* oklch */ color: oklch(34.8% 0.165 270.2);
Tailwind
colors: {
  custom: {
    50: '#6e62b0',
    500: '#1e288e',
    950: '#000000',
  },
}
SCSS
$custom: #1e288e;
$custom-light: #6e62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e288e",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 234.643,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34843,
    "c": 0.16542,
    "h": 270.2
  },
  "luminance": 0.03747
}

Semantic roles & 50–950 ramp

primary
#1E288E
secondary
#BCB24C
accent
#D940E8
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #1E288E

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

Preview Lab → · Contrast checker → · Palette generator →

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