#1E315E#1E315E

#1E315E is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.3% C 0.084 H 264.9°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#1E315E
RGBrgb(30, 49, 94)
HSLhsl(222, 52%, 24%)
HSVhsv(222, 68%, 37%)
CMYKcmyk(68.1%, 47.9%, 0%, 63.1%)
CIE-LABlab(21.13, 8.68, -29.20)
CIE-LCHlch(21.13, 30.47, 286.56°)
OKLaboklab(32.31% -0.0075 -0.0834)
OKLCHoklch(32.31% 0.084 264.9)
XYZxyz(3.6534, 3.2805, 11.0282)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E315E #5E4B1E
analogous
#1E515E #1E315E #2B1E5E
triadic
#1E315E #5E1E31 #315E1E
tetradic
#1E315E #5E1E51 #5E4B1E #1E5E2B
square
#1E315E #5E1E51 #5E4B1E #1E5E2B
split-complementary
#1E315E #5E2B1E #515E1E
monochromatic
#070C17 #0F1930 #1E315E #2D498C #3C61BB

Accessibility & contrast

On white

12.68
#1E315E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1E315E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E315E
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E315E#FFFFFF#000000##FFFFFF
##1E315E1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3660
Deuteranopia (green-blind)
#11305D
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e315e;
/* rgb */ color: rgb(30, 49, 94);
/* oklch */ color: oklch(32.3% 0.084 264.9);
Tailwind
colors: {
  custom: {
    50: '#61688c',
    500: '#1e315e',
    950: '#000000',
  },
}
SCSS
$custom: #1e315e;
$custom-light: #61688c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e315e",
  "rgb": {
    "r": 30,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 222.188,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3231,
    "c": 0.08371,
    "h": 264.9
  },
  "luminance": 0.03281
}

Semantic roles & 50–950 ramp

primary
#1E315E
secondary
#937C45
accent
#B14DDB
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1E315E

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

Preview Lab → · Contrast checker → · Palette generator →

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