#1E288A#1E288A

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

Color values

HEX#1E288A
RGBrgb(30, 40, 138)
HSLhsl(234, 64%, 33%)
HSVhsv(234, 78%, 54%)
CMYKcmyk(78.3%, 71%, 0%, 45.9%)
CIE-LABlab(22.40, 32.23, -55.32)
CIE-LCHlch(22.40, 64.03, 300.22°)
OKLaboklab(34.42% 0.001 -0.1601)
OKLCHoklch(34.42% 0.16 270.4)
XYZxyz(5.8801, 3.6279, 24.4302)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E288A #8A801E
analogous
#1E5E8A #1E288A #4A1E8A
triadic
#1E288A #8A1E28 #288A1E
tetradic
#1E288A #8A1E5E #8A801E #1E8A4A
square
#1E288A #8A1E5E #8A801E #1E8A4A
split-complementary
#1E288A #8A4A1E #5E8A1E
monochromatic
#080B25 #131958 #1E288A #2937BC #4B58D8

Accessibility & contrast

On white

12.17
#1E288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1E288A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E288A
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E288A#FFFFFF#000000##FFFFFF
##1E288A1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003088
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e288a;
/* rgb */ color: rgb(30, 40, 138);
/* oklch */ color: oklch(34.4% 0.160 270.4);
Tailwind
colors: {
  custom: {
    50: '#6d62ad',
    500: '#1e288a',
    950: '#000000',
  },
}
SCSS
$custom: #1e288a;
$custom-light: #6d62ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e288a",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 234.444,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34422,
    "c": 0.16014,
    "h": 270.4
  },
  "luminance": 0.03629
}

Semantic roles & 50–950 ramp

primary
#1E288A
secondary
#BAB04A
accent
#D841E7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E288A

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

Preview Lab → · Contrast checker → · Palette generator →

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