#1E298B#1E298B

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

Color values

HEX#1E298B
RGBrgb(30, 41, 139)
HSLhsl(234, 64%, 33%)
HSVhsv(234, 78%, 55%)
CMYKcmyk(78.4%, 70.5%, 0%, 45.5%)
CIE-LABlab(22.74, 31.95, -55.39)
CIE-LCHlch(22.74, 63.94, 299.98°)
OKLaboklab(34.7% 0.0004 -0.1603)
OKLCHoklch(34.7% 0.16 270.1)
XYZxyz(5.9870, 3.7253, 24.8246)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E298B #8B801E
analogous
#1E5F8B #1E298B #491E8B
triadic
#1E298B #8B1E29 #298B1E
tetradic
#1E298B #8B1E5F #8B801E #1E8B49
square
#1E298B #8B1E5F #8B801E #1E8B49
split-complementary
#1E298B #8B491E #5F8B1E
monochromatic
#080B26 #131A59 #1E298B #2938BD #4B59D8

Accessibility & contrast

On white

12.03
#1E298B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E298B
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E298B#FFFFFF#000000##FFFFFF
##1E298B1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003189
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e298b;
/* rgb */ color: rgb(30, 41, 139);
/* oklch */ color: oklch(34.7% 0.160 270.1);
Tailwind
colors: {
  custom: {
    50: '#6d63ae',
    500: '#1e298b',
    950: '#000000',
  },
}
SCSS
$custom: #1e298b;
$custom-light: #6d63ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e298b",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 233.945,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34699,
    "c": 0.16032,
    "h": 270.1
  },
  "luminance": 0.03726
}

Semantic roles & 50–950 ramp

primary
#1E298B
secondary
#BBAF4A
accent
#D740E7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E298B

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

Preview Lab → · Contrast checker → · Palette generator →

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