#1E45A1#1E45A1

#1E45A1 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.2% C 0.156 H 263.7°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#1E45A1
RGBrgb(30, 69, 161)
HSLhsl(222, 69%, 37%)
HSVhsv(222, 81%, 63%)
CMYKcmyk(81.4%, 57.1%, 0%, 36.9%)
CIE-LABlab(32.04, 21.61, -53.65)
CIE-LCHlch(32.04, 57.84, 291.94°)
OKLaboklab(42.19% -0.0172 -0.1549)
OKLCHoklch(42.19% 0.156 263.7)
XYZxyz(9.0943, 7.1044, 34.6033)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E45A1 #A17A1E
analogous
#1E87A1 #1E45A1 #381EA1
triadic
#1E45A1 #A11E45 #45A11E
tetradic
#1E45A1 #A11E87 #A17A1E #1EA138
square
#1E45A1 #A11E87 #A17A1E #1EA138
split-complementary
#1E45A1 #A1381E #87A11E
monochromatic
#0B193A #142F6D #1E45A1 #285BD5 #5981E0

Accessibility & contrast

On white

8.67
#1E45A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#1E45A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E45A1
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E45A1#FFFFFF#000000##FFFFFF
##1E45A11.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#00469F
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1e45a1;
/* rgb */ color: rgb(30, 69, 161);
/* oklch */ color: oklch(42.2% 0.156 263.7);
Tailwind
colors: {
  custom: {
    50: '#7178be',
    500: '#1e45a1',
    950: '#000000',
  },
}
SCSS
$custom: #1e45a1;
$custom-light: #7178be;
$custom-dark: #000000;
JSON
{
  "hex": "#1e45a1",
  "rgb": {
    "r": 30,
    "g": 69,
    "b": 161
  },
  "hsl": {
    "h": 222.137,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42192,
    "c": 0.15587,
    "h": 263.7
  },
  "luminance": 0.07105
}

Semantic roles & 50–950 ramp

primary
#1E45A1
secondary
#C4A357
accent
#B73CEB
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1E45A1

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

Preview Lab → · Contrast checker → · Palette generator →

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