#1E298C#1E298C

#1E298C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.162 H 270.1°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#1E298C
RGBrgb(30, 41, 140)
HSLhsl(234, 65%, 33%)
HSVhsv(234, 79%, 55%)
CMYKcmyk(78.6%, 70.7%, 0%, 45.1%)
CIE-LABlab(22.84, 32.32, -55.84)
CIE-LCHlch(22.84, 64.52, 300.06°)
OKLaboklab(34.8% 0.0002 -0.1616)
OKLCHoklch(34.8% 0.162 270.1)
XYZxyz(6.0604, 3.7547, 25.2112)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E298C #8C811E
analogous
#1E608C #1E298C #4A1E8C
triadic
#1E298C #8C1E29 #298C1E
tetradic
#1E298C #8C1E60 #8C811E #1E8C4A
square
#1E298C #8C1E60 #8C811E #1E8C4A
split-complementary
#1E298C #8C4A1E #608C1E
monochromatic
#080B27 #131A5A #1E298C #2938BE #4C5AD9

Accessibility & contrast

On white

11.99
#1E298C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E298C
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E298C#FFFFFF#000000##FFFFFF
##1E298C1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00318A
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e298c;
/* rgb */ color: rgb(30, 41, 140);
/* oklch */ color: oklch(34.8% 0.162 270.1);
Tailwind
colors: {
  custom: {
    50: '#6d63af',
    500: '#1e298c',
    950: '#000000',
  },
}
SCSS
$custom: #1e298c;
$custom-light: #6d63af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e298c",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 234,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34803,
    "c": 0.16165,
    "h": 270.1
  },
  "luminance": 0.03755
}

Semantic roles & 50–950 ramp

primary
#1E298C
secondary
#BBB04B
accent
#D740E8
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E298C

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

Preview Lab → · Contrast checker → · Palette generator →

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