#1E298A#1E298A

#1E298A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.159 H 270.2°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#1E298A
RGBrgb(30, 41, 138)
HSLhsl(234, 64%, 33%)
HSVhsv(234, 78%, 54%)
CMYKcmyk(78.3%, 70.3%, 0%, 45.9%)
CIE-LABlab(22.64, 31.58, -54.93)
CIE-LCHlch(22.64, 63.36, 299.89°)
OKLaboklab(34.6% 0.0005 -0.159)
OKLCHoklch(34.6% 0.159 270.2)
XYZxyz(5.9142, 3.6962, 24.4416)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E298A #8A7F1E
analogous
#1E5F8A #1E298A #491E8A
triadic
#1E298A #8A1E29 #298A1E
tetradic
#1E298A #8A1E5F #8A7F1E #1E8A49
square
#1E298A #8A1E5F #8A7F1E #1E8A49
split-complementary
#1E298A #8A491E #5F8A1E
monochromatic
#080B25 #131A58 #1E298A #2938BC #4B59D8

Accessibility & contrast

On white

12.07
#1E298A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1E298A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E298A
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E298A#FFFFFF#000000##FFFFFF
##1E298A1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e298a;
/* rgb */ color: rgb(30, 41, 138);
/* oklch */ color: oklch(34.6% 0.159 270.2);
Tailwind
colors: {
  custom: {
    50: '#6d63ad',
    500: '#1e298a',
    950: '#000000',
  },
}
SCSS
$custom: #1e298a;
$custom-light: #6d63ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e298a",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 138
  },
  "hsl": {
    "h": 233.889,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34595,
    "c": 0.15899,
    "h": 270.2
  },
  "luminance": 0.03697
}

Semantic roles & 50–950 ramp

primary
#1E298A
secondary
#BAAF4A
accent
#D641E7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E298A

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

Preview Lab → · Contrast checker → · Palette generator →

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