#1E328F#1E328F

#1E328F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.155 H 268.1°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#1E328F
RGBrgb(30, 50, 143)
HSLhsl(229, 65%, 34%)
HSVhsv(229, 79%, 56%)
CMYKcmyk(79%, 65%, 0%, 43.9%)
CIE-LABlab(25.38, 27.48, -53.54)
CIE-LCHlch(25.38, 60.18, 297.17°)
OKLaboklab(36.74% -0.0052 -0.1549)
OKLCHoklch(36.74% 0.155 268.1)
XYZxyz(6.6322, 4.5396, 26.5080)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E328F #8F7B1E
analogous
#1E6B8F #1E328F #431E8F
triadic
#1E328F #8F1E32 #328F1E
tetradic
#1E328F #8F1E6B #8F7B1E #1E8F43
square
#1E328F #8F1E6B #8F7B1E #1E8F43
split-complementary
#1E328F #8F431E #6B8F1E
monochromatic
#090F2A #13205C #1E328F #2944C2 #4E66DA

Accessibility & contrast

On white

11.01
#1E328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E328F
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E328F#FFFFFF#000000##FFFFFF
##1E328F1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e328f;
/* rgb */ color: rgb(30, 50, 143);
/* oklch */ color: oklch(36.7% 0.155 268.1);
Tailwind
colors: {
  custom: {
    50: '#6d69b1',
    500: '#1e328f',
    950: '#000000',
  },
}
SCSS
$custom: #1e328f;
$custom-light: #6d69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e328f",
  "rgb": {
    "r": 30,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 229.381,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36745,
    "c": 0.15495,
    "h": 268.1
  },
  "luminance": 0.0454
}

Semantic roles & 50–950 ramp

primary
#1E328F
secondary
#BCA94C
accent
#CA40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1E328F

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

Preview Lab → · Contrast checker → · Palette generator →

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