#1E298D#1E298D

#1E298D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.163 H 270.0°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#1E298D
RGBrgb(30, 41, 141)
HSLhsl(234, 65%, 34%)
HSVhsv(234, 79%, 55%)
CMYKcmyk(78.7%, 70.9%, 0%, 44.7%)
CIE-LABlab(22.95, 32.69, -56.30)
CIE-LCHlch(22.95, 65.10, 300.15°)
OKLaboklab(34.91% 0.0001 -0.163)
OKLCHoklch(34.91% 0.163 270)
XYZxyz(6.1344, 3.7843, 25.6013)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E298D #8D821E
analogous
#1E608D #1E298D #4A1E8D
triadic
#1E298D #8D1E29 #298D1E
tetradic
#1E298D #8D1E60 #8D821E #1E8D4A
square
#1E298D #8D1E60 #8D821E #1E8D4A
split-complementary
#1E298D #8D4A1E #608D1E
monochromatic
#090C28 #131A5B #1E298D #2938BF #4C5AD9

Accessibility & contrast

On white

11.95
#1E298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1E298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E298D
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E298D#FFFFFF#000000##FFFFFF
##1E298D1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e298d;
/* rgb */ color: rgb(30, 41, 141);
/* oklch */ color: oklch(34.9% 0.163 270.0);
Tailwind
colors: {
  custom: {
    50: '#6e63af',
    500: '#1e298d',
    950: '#000000',
  },
}
SCSS
$custom: #1e298d;
$custom-light: #6e63af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e298d",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 234.054,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34908,
    "c": 0.16298,
    "h": 270
  },
  "luminance": 0.03785
}

Semantic roles & 50–950 ramp

primary
#1E298D
secondary
#BCB04B
accent
#D740E8
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #1E298D

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

Preview Lab → · Contrast checker → · Palette generator →

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