#1E298E#1E298E

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

Color values

HEX#1E298E
RGBrgb(30, 41, 142)
HSLhsl(234, 65%, 34%)
HSVhsv(234, 79%, 56%)
CMYKcmyk(78.9%, 71.1%, 0%, 44.3%)
CIE-LABlab(23.05, 33.07, -56.75)
CIE-LCHlch(23.05, 65.68, 300.23°)
OKLaboklab(35.01% 0 -0.1643)
OKLCHoklch(35.01% 0.164 270)
XYZxyz(6.2092, 3.8142, 25.9949)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E298E #8E831E
analogous
#1E618E #1E298E #4B1E8E
triadic
#1E298E #8E1E29 #298E1E
tetradic
#1E298E #8E1E61 #8E831E #1E8E4B
square
#1E298E #8E1E61 #8E831E #1E8E4B
split-complementary
#1E298E #8E4B1E #618E1E
monochromatic
#090C29 #131A5B #1E298E #2938C1 #4D5BD9

Accessibility & contrast

On white

11.91
#1E298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E298E
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E298E#FFFFFF#000000##FFFFFF
##1E298E1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e298e;
/* rgb */ color: rgb(30, 41, 142);
/* oklch */ color: oklch(35.0% 0.164 270.0);
Tailwind
colors: {
  custom: {
    50: '#6e63b0',
    500: '#1e298e',
    950: '#000000',
  },
}
SCSS
$custom: #1e298e;
$custom-light: #6e63b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e298e",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 234.107,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35013,
    "c": 0.1643,
    "h": 270
  },
  "luminance": 0.03815
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E298E

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

Preview Lab → · Contrast checker → · Palette generator →

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