#1E45A6#1E45A6

#1E45A6 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.163 H 264.0°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#1E45A6
RGBrgb(30, 69, 166)
HSLhsl(223, 69%, 38%)
HSVhsv(223, 82%, 65%)
CMYKcmyk(81.9%, 58.4%, 0%, 34.9%)
CIE-LABlab(32.45, 23.58, -56.00)
CIE-LCHlch(32.45, 60.77, 292.83°)
OKLaboklab(42.62% -0.0169 -0.1618)
OKLCHoklch(42.62% 0.163 264)
XYZxyz(9.5440, 7.2843, 36.9720)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E45A6 #A67F1E
analogous
#1E89A6 #1E45A6 #3B1EA6
triadic
#1E45A6 #A61E45 #45A61E
tetradic
#1E45A6 #A61E89 #A67F1E #1EA63B
square
#1E45A6 #A61E89 #A67F1E #1EA63B
split-complementary
#1E45A6 #A63B1E #89A61E
monochromatic
#0B1A3E #152F72 #1E45A6 #295BD8 #5D83E2

Accessibility & contrast

On white

8.55
#1E45A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1E45A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E45A6
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E45A6#FFFFFF#000000##FFFFFF
##1E45A61.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#0046A4
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1e45a6;
/* rgb */ color: rgb(30, 69, 166);
/* oklch */ color: oklch(42.6% 0.163 264.0);
Tailwind
colors: {
  custom: {
    50: '#7278c1',
    500: '#1e45a6',
    950: '#000000',
  },
}
SCSS
$custom: #1e45a6;
$custom-light: #7278c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e45a6",
  "rgb": {
    "r": 30,
    "g": 69,
    "b": 166
  },
  "hsl": {
    "h": 222.794,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42621,
    "c": 0.16271,
    "h": 264
  },
  "luminance": 0.07285
}

Semantic roles & 50–950 ramp

primary
#1E45A6
secondary
#C6A75A
accent
#BA3CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1E45A6

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

Preview Lab → · Contrast checker → · Palette generator →

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