#1E328E#1E328E

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

Color values

HEX#1E328E
RGBrgb(30, 50, 142)
HSLhsl(229, 65%, 34%)
HSVhsv(229, 79%, 56%)
CMYKcmyk(78.9%, 64.8%, 0%, 44.3%)
CIE-LABlab(25.29, 27.09, -53.07)
CIE-LCHlch(25.29, 59.58, 297.05°)
OKLaboklab(36.65% -0.0051 -0.1535)
OKLCHoklch(36.65% 0.154 268.1)
XYZxyz(6.5568, 4.5095, 26.1108)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E328E #8E7A1E
analogous
#1E6A8E #1E328E #421E8E
triadic
#1E328E #8E1E32 #328E1E
tetradic
#1E328E #8E1E6A #8E7A1E #1E8E42
square
#1E328E #8E1E6A #8E7A1E #1E8E42
split-complementary
#1E328E #8E421E #6A8E1E
monochromatic
#090E29 #13205B #1E328E #2944C1 #4D66D9

Accessibility & contrast

On white

11.04
#1E328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1E328E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E328E
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E328E#FFFFFF#000000##FFFFFF
##1E328E1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e328e;
/* rgb */ color: rgb(30, 50, 142);
/* oklch */ color: oklch(36.6% 0.154 268.1);
Tailwind
colors: {
  custom: {
    50: '#6d69b0',
    500: '#1e328e',
    950: '#000000',
  },
}
SCSS
$custom: #1e328e;
$custom-light: #6d69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e328e",
  "rgb": {
    "r": 30,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 229.286,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36649,
    "c": 0.15358,
    "h": 268.1
  },
  "luminance": 0.0451
}

Semantic roles & 50–950 ramp

primary
#1E328E
secondary
#BCA84C
accent
#CA40E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1E328E

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

Preview Lab → · Contrast checker → · Palette generator →

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