#1E298F#1E298F

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

Color values

HEX#1E298F
RGBrgb(30, 41, 143)
HSLhsl(234, 65%, 34%)
HSVhsv(234, 79%, 56%)
CMYKcmyk(79%, 71.3%, 0%, 43.9%)
CIE-LABlab(23.15, 33.43, -57.20)
CIE-LCHlch(23.15, 66.25, 300.31°)
OKLaboklab(35.12% -0.0001 -0.1656)
OKLCHoklch(35.12% 0.166 270)
XYZxyz(6.2846, 3.8444, 26.3921)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E298F #8F841E
analogous
#1E628F #1E298F #4C1E8F
triadic
#1E298F #8F1E29 #298F1E
tetradic
#1E298F #8F1E62 #8F841E #1E8F4C
square
#1E298F #8F1E62 #8F841E #1E8F4C
split-complementary
#1E298F #8F4C1E #628F1E
monochromatic
#090C2A #131A5C #1E298F #2938C2 #4E5BDA

Accessibility & contrast

On white

11.87
#1E298F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1E298F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E298F
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E298F#FFFFFF#000000##FFFFFF
##1E298F1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e298f;
/* rgb */ color: rgb(30, 41, 143);
/* oklch */ color: oklch(35.1% 0.166 270.0);
Tailwind
colors: {
  custom: {
    50: '#6e63b1',
    500: '#1e298f',
    950: '#000000',
  },
}
SCSS
$custom: #1e298f;
$custom-light: #6e63b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e298f",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 234.159,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35118,
    "c": 0.16562,
    "h": 270
  },
  "luminance": 0.03845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E298F

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

Preview Lab → · Contrast checker → · Palette generator →

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