#1E339D#1E339D

#1E339D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.173 H 267.9°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#1E339D
RGBrgb(30, 51, 157)
HSLhsl(230, 68%, 37%)
HSVhsv(230, 81%, 62%)
CMYKcmyk(80.9%, 67.5%, 0%, 38.4%)
CIE-LABlab(26.95, 32.16, -59.55)
CIE-LCHlch(26.95, 67.68, 298.37°)
OKLaboklab(38.3% -0.0064 -0.1724)
OKLCHoklch(38.3% 0.173 267.9)
XYZxyz(7.8029, 5.0771, 32.4605)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E339D #9D881E
analogous
#1E739D #1E339D #491E9D
triadic
#1E339D #9D1E33 #339D1E
tetradic
#1E339D #9D1E73 #9D881E #1E9D49
square
#1E339D #9D1E73 #9D881E #1E9D49
split-complementary
#1E339D #9D491E #739D1E
monochromatic
#0A1236 #14226A #1E339D #2844D0 #576DDF

Accessibility & contrast

On white

10.42
#1E339D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#1E339D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E339D
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E339D#FFFFFF#000000##FFFFFF
##1E339D1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#003A9B
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1e339d;
/* rgb */ color: rgb(30, 51, 157);
/* oklch */ color: oklch(38.3% 0.173 267.9);
Tailwind
colors: {
  custom: {
    50: '#716abb',
    500: '#1e339d',
    950: '#000000',
  },
}
SCSS
$custom: #1e339d;
$custom-light: #716abb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e339d",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 230.079,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38303,
    "c": 0.17256,
    "h": 267.9
  },
  "luminance": 0.05078
}

Semantic roles & 50–950 ramp

primary
#1E339D
secondary
#C2B054
accent
#CE3DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1E339D

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

Preview Lab → · Contrast checker → · Palette generator →

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