#1E2155#1E2155

#1E2155 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.9% C 0.093 H 276.1°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#1E2155
RGBrgb(30, 33, 85)
HSLhsl(237, 48%, 23%)
HSVhsv(237, 65%, 33%)
CMYKcmyk(64.7%, 61.2%, 0%, 66.7%)
CIE-LABlab(15.59, 16.75, -32.14)
CIE-LCHlch(15.59, 36.24, 297.53°)
OKLaboklab(27.9% 0.0098 -0.0922)
OKLCHoklch(27.9% 0.093 276.1)
XYZxyz(2.7184, 2.0194, 8.8391)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2155 #55521E
analogous
#1E3D55 #1E2155 #361E55
triadic
#1E2155 #551E21 #21551E
tetradic
#1E2155 #551E3D #55521E #1E5536
square
#1E2155 #551E3D #55521E #1E5536
split-complementary
#1E2155 #55361E #3D551E
monochromatic
#080917 #0E0F28 #1E2155 #2E3382 #3E44AF

Accessibility & contrast

On white

14.96
#1E2155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1E2155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2155
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2155#FFFFFF#000000##FFFFFF
##1E21551.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002957
Deuteranopia (green-blind)
#002554
Tritanopia (blue-blind)
#002D37
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1e2155;
/* rgb */ color: rgb(30, 33, 85);
/* oklch */ color: oklch(27.9% 0.093 276.1);
Tailwind
colors: {
  custom: {
    50: '#605c85',
    500: '#1e2155',
    950: '#000000',
  },
}
SCSS
$custom: #1e2155;
$custom-light: #605c85;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2155",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 236.727,
    "s": 47.826,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27896,
    "c": 0.09275,
    "h": 276.1
  },
  "luminance": 0.0202
}

Semantic roles & 50–950 ramp

primary
#1E2155
secondary
#8A8645
accent
#D050D7
background
#F5F5F8
surface
#EAE9EF
border
#C6C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #1E2155

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

Preview Lab → · Contrast checker → · Palette generator →

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