#1E45A8#1E45A8

#1E45A8 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.8% C 0.165 H 264.2°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#1E45A8
RGBrgb(30, 69, 168)
HSLhsl(223, 70%, 39%)
HSVhsv(223, 82%, 66%)
CMYKcmyk(82.1%, 58.9%, 0%, 34.1%)
CIE-LABlab(32.61, 24.37, -56.94)
CIE-LCHlch(32.61, 61.93, 293.17°)
OKLaboklab(42.79% -0.0168 -0.1646)
OKLCHoklch(42.79% 0.165 264.2)
XYZxyz(9.7289, 7.3582, 37.9457)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E45A8 #A8811E
analogous
#1E8AA8 #1E45A8 #3C1EA8
triadic
#1E45A8 #A81E45 #45A81E
tetradic
#1E45A8 #A81E8A #A8811E #1EA83C
square
#1E45A8 #A81E8A #A8811E #1EA83C
split-complementary
#1E45A8 #A83C1E #8AA81E
monochromatic
#0B1A40 #153074 #1E45A8 #2A5CD9 #5E83E2

Accessibility & contrast

On white

8.50
#1E45A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#1E45A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E45A8
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E45A8#FFFFFF#000000##FFFFFF
##1E45A81.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1e45a8;
/* rgb */ color: rgb(30, 69, 168);
/* oklch */ color: oklch(42.8% 0.165 264.2);
Tailwind
colors: {
  custom: {
    50: '#7278c3',
    500: '#1e45a8',
    950: '#000000',
  },
}
SCSS
$custom: #1e45a8;
$custom-light: #7278c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e45a8",
  "rgb": {
    "r": 30,
    "g": 69,
    "b": 168
  },
  "hsl": {
    "h": 223.043,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42794,
    "c": 0.16542,
    "h": 264.2
  },
  "luminance": 0.07359
}

Semantic roles & 50–950 ramp

primary
#1E45A8
secondary
#C7A85B
accent
#BA3BED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090813
muted
#7B7B82

Preview Lab

Preview with #1E45A8

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

Preview Lab → · Contrast checker → · Palette generator →

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