#1E315D#1E315D

#1E315D is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.2% C 0.082 H 264.6°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#1E315D
RGBrgb(30, 49, 93)
HSLhsl(222, 51%, 24%)
HSVhsv(222, 68%, 36%)
CMYKcmyk(67.7%, 47.3%, 0%, 63.5%)
CIE-LABlab(21.07, 8.28, -28.65)
CIE-LCHlch(21.07, 29.83, 286.12°)
OKLaboklab(32.24% -0.0077 -0.0818)
OKLCHoklch(32.24% 0.082 264.6)
XYZxyz(3.6088, 3.2626, 10.7934)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E315D #5D4A1E
analogous
#1E515D #1E315D #2B1E5D
triadic
#1E315D #5D1E31 #315D1E
tetradic
#1E315D #5D1E51 #5D4A1E #1E5D2B
square
#1E315D #5D1E51 #5D4A1E #1E5D2B
split-complementary
#1E315D #5D2B1E #515D1E
monochromatic
#070C17 #0F192F #1E315D #2D498B #3C62BA

Accessibility & contrast

On white

12.71
#1E315D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1E315D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E315D
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E315D#FFFFFF#000000##FFFFFF
##1E315D1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C365F
Deuteranopia (green-blind)
#12305C
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e315d;
/* rgb */ color: rgb(30, 49, 93);
/* oklch */ color: oklch(32.2% 0.082 264.6);
Tailwind
colors: {
  custom: {
    50: '#61688b',
    500: '#1e315d',
    950: '#000000',
  },
}
SCSS
$custom: #1e315d;
$custom-light: #61688b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e315d",
  "rgb": {
    "r": 30,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 221.905,
    "s": 51.22,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32236,
    "c": 0.08213,
    "h": 264.6
  },
  "luminance": 0.03263
}

Semantic roles & 50–950 ramp

primary
#1E315D
secondary
#927B45
accent
#B04DDB
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1E315D

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

Preview Lab → · Contrast checker → · Palette generator →

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