#1E339B#1E339B

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

Color values

HEX#1E339B
RGBrgb(30, 51, 155)
HSLhsl(230, 68%, 36%)
HSVhsv(230, 81%, 61%)
CMYKcmyk(80.6%, 67.1%, 0%, 39.2%)
CIE-LABlab(26.76, 31.41, -58.65)
CIE-LCHlch(26.76, 66.53, 298.17°)
OKLaboklab(38.1% -0.0063 -0.1698)
OKLCHoklch(38.1% 0.17 267.9)
XYZxyz(7.6336, 5.0093, 31.5686)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E339B #9B861E
analogous
#1E729B #1E339B #481E9B
triadic
#1E339B #9B1E33 #339B1E
tetradic
#1E339B #9B1E72 #9B861E #1E9B48
square
#1E339B #9B1E72 #9B861E #1E9B48
split-complementary
#1E339B #9B481E #729B1E
monochromatic
#0A1134 #142268 #1E339B #2844CE #556CDE

Accessibility & contrast

On white

10.49
#1E339B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E339B
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E339B#FFFFFF#000000##FFFFFF
##1E339B1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e339b;
/* rgb */ color: rgb(30, 51, 155);
/* oklch */ color: oklch(38.1% 0.170 267.9);
Tailwind
colors: {
  custom: {
    50: '#706ab9',
    500: '#1e339b',
    950: '#000000',
  },
}
SCSS
$custom: #1e339b;
$custom-light: #706ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e339b",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 229.92,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38104,
    "c": 0.16992,
    "h": 267.9
  },
  "luminance": 0.0501
}

Semantic roles & 50–950 ramp

primary
#1E339B
secondary
#C2AF53
accent
#CD3DEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1E339B

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

Preview Lab → · Contrast checker → · Palette generator →

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