#1E2156#1E2156

#1E2156 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.0% C 0.094 H 276.0°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#1E2156
RGBrgb(30, 33, 86)
HSLhsl(237, 48%, 23%)
HSVhsv(237, 65%, 34%)
CMYKcmyk(65.1%, 61.6%, 0%, 66.3%)
CIE-LABlab(15.67, 17.14, -32.67)
CIE-LCHlch(15.67, 36.90, 297.68°)
OKLaboklab(27.98% 0.0099 -0.0938)
OKLCHoklch(27.98% 0.094 276)
XYZxyz(2.7584, 2.0354, 9.0498)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2156 #56531E
analogous
#1E3D56 #1E2156 #371E56
triadic
#1E2156 #561E21 #21561E
tetradic
#1E2156 #561E3D #56531E #1E5637
square
#1E2156 #561E3D #56531E #1E5637
split-complementary
#1E2156 #56371E #3D561E
monochromatic
#080917 #0E1029 #1E2156 #2E3283 #3E44B1

Accessibility & contrast

On white

14.92
#1E2156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1E2156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2156
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2156#FFFFFF#000000##FFFFFF
##1E21561.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A58
Deuteranopia (green-blind)
#002555
Tritanopia (blue-blind)
#002E37
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1e2156;
/* rgb */ color: rgb(30, 33, 86);
/* oklch */ color: oklch(28.0% 0.094 276.0);
Tailwind
colors: {
  custom: {
    50: '#615c86',
    500: '#1e2156',
    950: '#000000',
  },
}
SCSS
$custom: #1e2156;
$custom-light: #615c86;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2156",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 236.786,
    "s": 48.276,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27984,
    "c": 0.09433,
    "h": 276
  },
  "luminance": 0.02036
}

Semantic roles & 50–950 ramp

primary
#1E2156
secondary
#8B8745
accent
#D150D8
background
#F5F5F8
surface
#EAE9EF
border
#C6C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #1E2156

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

Preview Lab → · Contrast checker → · Palette generator →

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