#1E2180#1E2180

#1E2180 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.155 H 272.3°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#1E2180
RGBrgb(30, 33, 128)
HSLhsl(238, 62%, 31%)
HSVhsv(238, 77%, 50%)
CMYKcmyk(76.6%, 74.2%, 0%, 49.8%)
CIE-LABlab(19.73, 33.03, -53.44)
CIE-LCHlch(19.73, 62.82, 301.72°)
OKLaboklab(32.18% 0.0061 -0.1546)
OKLCHoklch(32.18% 0.155 272.3)
XYZxyz(4.9742, 2.9217, 20.7197)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2180 #807D1E
analogous
#1E5280 #1E2180 #4C1E80
triadic
#1E2180 #801E21 #21801E
tetradic
#1E2180 #801E52 #807D1E #1E804C
square
#1E2180 #801E52 #807D1E #1E804C
split-complementary
#1E2180 #804C1E #52801E
monochromatic
#07071D #12144E #1E2180 #2A2EB2 #4549D3

Accessibility & contrast

On white

13.25
#1E2180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1E2180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2180
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2180#FFFFFF#000000##FFFFFF
##1E21801.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002B7E
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e2180;
/* rgb */ color: rgb(30, 33, 128);
/* oklch */ color: oklch(32.2% 0.155 272.3);
Tailwind
colors: {
  custom: {
    50: '#6b5da6',
    500: '#1e2180',
    950: '#000000',
  },
}
SCSS
$custom: #1e2180;
$custom-light: #6b5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2180",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 238.163,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32184,
    "c": 0.15475,
    "h": 272.3
  },
  "luminance": 0.02922
}

Semantic roles & 50–950 ramp

primary
#1E2180
secondary
#B3B047
accent
#E043E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1E2180

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

Preview Lab → · Contrast checker → · Palette generator →

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