#1E338D#1E338D

#1E338D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.151 H 267.8°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#1E338D
RGBrgb(30, 51, 141)
HSLhsl(229, 65%, 34%)
HSVhsv(229, 79%, 55%)
CMYKcmyk(78.7%, 63.8%, 0%, 44.7%)
CIE-LABlab(25.46, 26.02, -52.17)
CIE-LCHlch(25.46, 58.30, 296.51°)
OKLaboklab(36.75% -0.0057 -0.1508)
OKLCHoklch(36.75% 0.151 267.8)
XYZxyz(6.5253, 4.5660, 25.7316)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E338D #8D781E
analogous
#1E6A8D #1E338D #401E8D
triadic
#1E338D #8D1E33 #338D1E
tetradic
#1E338D #8D1E6A #8D781E #1E8D40
square
#1E338D #8D1E6A #8D781E #1E8D40
split-complementary
#1E338D #8D401E #6A8D1E
monochromatic
#090E28 #13215B #1E338D #2945BF #4C67D9

Accessibility & contrast

On white

10.98
#1E338D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1E338D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E338D
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E338D#FFFFFF#000000##FFFFFF
##1E338D1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e338d;
/* rgb */ color: rgb(30, 51, 141);
/* oklch */ color: oklch(36.7% 0.151 267.8);
Tailwind
colors: {
  custom: {
    50: '#6d6aaf',
    500: '#1e338d',
    950: '#000000',
  },
}
SCSS
$custom: #1e338d;
$custom-light: #6d6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#1e338d",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 228.649,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36748,
    "c": 0.15095,
    "h": 267.8
  },
  "luminance": 0.04567
}

Semantic roles & 50–950 ramp

primary
#1E338D
secondary
#BCA64B
accent
#C840E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1E338D

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

Preview Lab → · Contrast checker → · Palette generator →

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