#1E45B2#1E45B2

#1E45B2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.179 H 264.7°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#1E45B2
RGBrgb(30, 69, 178)
HSLhsl(224, 71%, 41%)
HSVhsv(224, 83%, 70%)
CMYKcmyk(83.1%, 61.2%, 0%, 30.2%)
CIE-LABlab(33.45, 28.27, -61.53)
CIE-LCHlch(33.45, 67.71, 294.68°)
OKLaboklab(43.68% -0.0165 -0.1781)
OKLCHoklch(43.68% 0.179 264.7)
XYZxyz(10.6966, 7.7453, 43.0421)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E45B2 #B28B1E
analogous
#1E8FB2 #1E45B2 #411EB2
triadic
#1E45B2 #B21E45 #45B21E
tetradic
#1E45B2 #B21E8F #B28B1E #1EB241
square
#1E45B2 #B21E8F #B28B1E #1EB241
split-complementary
#1E45B2 #B2411E #8FB21E
monochromatic
#0C1C49 #15317E #1E45B2 #315EDC #6587E5

Accessibility & contrast

On white

8.24
#1E45B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#1E45B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E45B2
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E45B2#FFFFFF#000000##FFFFFF
##1E45B21.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1e45b2;
/* rgb */ color: rgb(30, 69, 178);
/* oklch */ color: oklch(43.7% 0.179 264.7);
Tailwind
colors: {
  custom: {
    50: '#7578ca',
    500: '#1e45b2',
    950: '#000000',
  },
}
SCSS
$custom: #1e45b2;
$custom-light: #7578ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1e45b2",
  "rgb": {
    "r": 30,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 224.189,
    "s": 71.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43681,
    "c": 0.17881,
    "h": 264.7
  },
  "luminance": 0.07747
}

Semantic roles & 50–950 ramp

primary
#1E45B2
secondary
#CAAF62
accent
#BE3AEE
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #1E45B2

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

Preview Lab → · Contrast checker → · Palette generator →

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