#1E45A0#1E45A0

#1E45A0 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.154 H 263.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#1E45A0
RGBrgb(30, 69, 160)
HSLhsl(222, 68%, 37%)
HSVhsv(222, 81%, 63%)
CMYKcmyk(81.3%, 56.9%, 0%, 37.3%)
CIE-LABlab(31.96, 21.21, -53.18)
CIE-LCHlch(31.96, 57.25, 291.74°)
OKLaboklab(42.11% -0.0172 -0.1535)
OKLCHoklch(42.11% 0.154 263.6)
XYZxyz(9.0064, 7.0693, 34.1407)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E45A0 #A0791E
analogous
#1E86A0 #1E45A0 #381EA0
triadic
#1E45A0 #A01E45 #45A01E
tetradic
#1E45A0 #A01E86 #A0791E #1EA038
square
#1E45A0 #A01E86 #A0791E #1EA038
split-complementary
#1E45A0 #A0381E #86A01E
monochromatic
#0B1939 #142F6C #1E45A0 #285BD4 #5981E0

Accessibility & contrast

On white

8.70
#1E45A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#1E45A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E45A0
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E45A0#FFFFFF#000000##FFFFFF
##1E45A01.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#00459E
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1e45a0;
/* rgb */ color: rgb(30, 69, 160);
/* oklch */ color: oklch(42.1% 0.154 263.6);
Tailwind
colors: {
  custom: {
    50: '#7078bd',
    500: '#1e45a0',
    950: '#000000',
  },
}
SCSS
$custom: #1e45a0;
$custom-light: #7078bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1e45a0",
  "rgb": {
    "r": 30,
    "g": 69,
    "b": 160
  },
  "hsl": {
    "h": 222,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42108,
    "c": 0.15449,
    "h": 263.6
  },
  "luminance": 0.0707
}

Semantic roles & 50–950 ramp

primary
#1E45A0
secondary
#C4A356
accent
#B73DEB
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1E45A0

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

Preview Lab → · Contrast checker → · Palette generator →

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