#1E27A0#1E27A0

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

Color values

HEX#1E27A0
RGBrgb(30, 39, 160)
HSLhsl(236, 68%, 37%)
HSVhsv(236, 81%, 63%)
CMYKcmyk(81.3%, 75.6%, 0%, 37.3%)
CIE-LABlab(24.53, 40.76, -65.38)
CIE-LCHlch(24.53, 77.04, 301.94°)
OKLaboklab(36.65% -0.0015 -0.1894)
OKLCHoklch(36.65% 0.189 269.5)
XYZxyz(7.6039, 4.2642, 33.6732)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E27A0 #A0971E
analogous
#1E68A0 #1E27A0 #561EA0
triadic
#1E27A0 #A01E27 #27A01E
tetradic
#1E27A0 #A01E68 #A0971E #1EA056
square
#1E27A0 #A01E68 #A0971E #1EA056
split-complementary
#1E27A0 #A0561E #68A01E
monochromatic
#0B0E39 #141A6C #1E27A0 #2834D4 #5962E0

Accessibility & contrast

On white

11.33
#1E27A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1E27A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E27A0
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E27A0#FFFFFF#000000##FFFFFF
##1E27A01.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e27a0;
/* rgb */ color: rgb(30, 39, 160);
/* oklch */ color: oklch(36.6% 0.189 269.5);
Tailwind
colors: {
  custom: {
    50: '#7362bd',
    500: '#1e27a0',
    950: '#000000',
  },
}
SCSS
$custom: #1e27a0;
$custom-light: #7362bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1e27a0",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 160
  },
  "hsl": {
    "h": 235.846,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36645,
    "c": 0.18941,
    "h": 269.5
  },
  "luminance": 0.04265
}

Semantic roles & 50–950 ramp

primary
#1E27A0
secondary
#C4BC56
accent
#DF3DEB
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1E27A0

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

Preview Lab → · Contrast checker → · Palette generator →

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