#1E339C#1E339C

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

Color values

HEX#1E339C
RGBrgb(30, 51, 156)
HSLhsl(230, 68%, 36%)
HSVhsv(230, 81%, 61%)
CMYKcmyk(80.8%, 67.3%, 0%, 38.8%)
CIE-LABlab(26.86, 31.79, -59.10)
CIE-LCHlch(26.86, 67.10, 298.27°)
OKLaboklab(38.2% -0.0063 -0.1711)
OKLCHoklch(38.2% 0.171 267.9)
XYZxyz(7.7179, 5.0431, 32.0127)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E339C #9C871E
analogous
#1E729C #1E339C #481E9C
triadic
#1E339C #9C1E33 #339C1E
tetradic
#1E339C #9C1E72 #9C871E #1E9C48
square
#1E339C #9C1E72 #9C871E #1E9C48
split-complementary
#1E339C #9C481E #729C1E
monochromatic
#0A1135 #142269 #1E339C #2844CF #566DDE

Accessibility & contrast

On white

10.45
#1E339C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1E339C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E339C
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E339C#FFFFFF#000000##FFFFFF
##1E339C1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1e339c;
/* rgb */ color: rgb(30, 51, 156);
/* oklch */ color: oklch(38.2% 0.171 267.9);
Tailwind
colors: {
  custom: {
    50: '#716aba',
    500: '#1e339c',
    950: '#000000',
  },
}
SCSS
$custom: #1e339c;
$custom-light: #716aba;
$custom-dark: #000000;
JSON
{
  "hex": "#1e339c",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 230,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38203,
    "c": 0.17124,
    "h": 267.9
  },
  "luminance": 0.05044
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E339C

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

Preview Lab → · Contrast checker → · Palette generator →

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