#1E339E#1E339E

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

Color values

HEX#1E339E
RGBrgb(30, 51, 158)
HSLhsl(230, 68%, 37%)
HSVhsv(230, 81%, 62%)
CMYKcmyk(81%, 67.7%, 0%, 38%)
CIE-LABlab(27.05, 32.54, -60.00)
CIE-LCHlch(27.05, 68.26, 298.47°)
OKLaboklab(38.4% -0.0065 -0.1737)
OKLCHoklch(38.4% 0.174 267.9)
XYZxyz(7.8887, 5.1114, 32.9120)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E339E #9E891E
analogous
#1E739E #1E339E #491E9E
triadic
#1E339E #9E1E33 #339E1E
tetradic
#1E339E #9E1E73 #9E891E #1E9E49
square
#1E339E #9E1E73 #9E891E #1E9E49
split-complementary
#1E339E #9E491E #739E1E
monochromatic
#0A1237 #14226B #1E339E #2844D1 #576EDF

Accessibility & contrast

On white

10.38
#1E339E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E339E
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E339E#FFFFFF#000000##FFFFFF
##1E339E1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1e339e;
/* rgb */ color: rgb(30, 51, 158);
/* oklch */ color: oklch(38.4% 0.174 267.9);
Tailwind
colors: {
  custom: {
    50: '#716abc',
    500: '#1e339e',
    950: '#000000',
  },
}
SCSS
$custom: #1e339e;
$custom-light: #716abc;
$custom-dark: #000000;
JSON
{
  "hex": "#1e339e",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 230.156,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38403,
    "c": 0.17387,
    "h": 267.9
  },
  "luminance": 0.05112
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E339E

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

Preview Lab → · Contrast checker → · Palette generator →

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