#1E339A#1E339A

#1E339A is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.169 H 267.9°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#1E339A
RGBrgb(30, 51, 154)
HSLhsl(230, 67%, 36%)
HSVhsv(230, 81%, 60%)
CMYKcmyk(80.5%, 66.9%, 0%, 39.6%)
CIE-LABlab(26.67, 31.03, -58.19)
CIE-LCHlch(26.67, 65.95, 298.07°)
OKLaboklab(38.01% -0.0062 -0.1685)
OKLCHoklch(38.01% 0.169 267.9)
XYZxyz(7.5500, 4.9759, 31.1281)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E339A #9A851E
analogous
#1E719A #1E339A #471E9A
triadic
#1E339A #9A1E33 #339A1E
tetradic
#1E339A #9A1E71 #9A851E #1E9A47
square
#1E339A #9A1E71 #9A851E #1E9A47
split-complementary
#1E339A #9A471E #719A1E
monochromatic
#0A1134 #142267 #1E339A #2844CD #556CDE

Accessibility & contrast

On white

10.52
#1E339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1E339A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E339A
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E339A#FFFFFF#000000##FFFFFF
##1E339A1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#003998
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1e339a;
/* rgb */ color: rgb(30, 51, 154);
/* oklch */ color: oklch(38.0% 0.169 267.9);
Tailwind
colors: {
  custom: {
    50: '#706ab9',
    500: '#1e339a',
    950: '#000000',
  },
}
SCSS
$custom: #1e339a;
$custom-light: #706ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e339a",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 229.839,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38005,
    "c": 0.16858,
    "h": 267.9
  },
  "luminance": 0.04977
}

Semantic roles & 50–950 ramp

primary
#1E339A
secondary
#C1AE53
accent
#CD3EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1E339A

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

Preview Lab → · Contrast checker → · Palette generator →

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