#1E27A1#1E27A1

#1E27A1 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.191 H 269.5°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#1E27A1
RGBrgb(30, 39, 161)
HSLhsl(236, 69%, 37%)
HSVhsv(236, 81%, 63%)
CMYKcmyk(81.4%, 75.8%, 0%, 36.9%)
CIE-LABlab(24.64, 41.11, -65.80)
CIE-LCHlch(24.64, 77.59, 302.00°)
OKLaboklab(36.76% -0.0017 -0.1906)
OKLCHoklch(36.76% 0.191 269.5)
XYZxyz(7.6918, 4.2994, 34.1358)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E27A1 #A1981E
analogous
#1E68A1 #1E27A1 #571EA1
triadic
#1E27A1 #A11E27 #27A11E
tetradic
#1E27A1 #A11E68 #A1981E #1EA157
square
#1E27A1 #A11E68 #A1981E #1EA157
split-complementary
#1E27A1 #A1571E #68A11E
monochromatic
#0B0E3A #141B6D #1E27A1 #2833D5 #5963E0

Accessibility & contrast

On white

11.29
#1E27A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1E27A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E27A1
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E27A1#FFFFFF#000000##FFFFFF
##1E27A11.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#00349F
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e27a1;
/* rgb */ color: rgb(30, 39, 161);
/* oklch */ color: oklch(36.8% 0.191 269.5);
Tailwind
colors: {
  custom: {
    50: '#7362be',
    500: '#1e27a1',
    950: '#000000',
  },
}
SCSS
$custom: #1e27a1;
$custom-light: #7362be;
$custom-dark: #000000;
JSON
{
  "hex": "#1e27a1",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 161
  },
  "hsl": {
    "h": 235.878,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36757,
    "c": 0.19064,
    "h": 269.5
  },
  "luminance": 0.043
}

Semantic roles & 50–950 ramp

primary
#1E27A1
secondary
#C4BC57
accent
#DF3CEB
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1E27A1

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

Preview Lab → · Contrast checker → · Palette generator →

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