#1E3AA8#1E3AA8

#1E3AA8 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.7% C 0.179 H 266.6°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#1E3AA8
RGBrgb(30, 58, 168)
HSLhsl(228, 70%, 39%)
HSVhsv(228, 82%, 66%)
CMYKcmyk(82.1%, 65.5%, 0%, 34.1%)
CIE-LABlab(29.73, 31.73, -61.64)
CIE-LCHlch(29.73, 69.33, 297.24°)
OKLaboklab(40.66% -0.0105 -0.1785)
OKLCHoklch(40.66% 0.179 266.6)
XYZxyz(9.1139, 6.1282, 37.7407)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3AA8 #A88C1E
analogous
#1E7FA8 #1E3AA8 #471EA8
triadic
#1E3AA8 #A81E3A #3AA81E
tetradic
#1E3AA8 #A81E7F #A88C1E #1EA847
square
#1E3AA8 #A81E7F #A88C1E #1EA847
split-complementary
#1E3AA8 #A8471E #7FA81E
monochromatic
#0B1640 #152874 #1E3AA8 #2A4ED9 #5E79E2

Accessibility & contrast

On white

9.43
#1E3AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1E3AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3AA8
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3AA8#FFFFFF#000000##FFFFFF
##1E3AA81.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0040A6
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1e3aa8;
/* rgb */ color: rgb(30, 58, 168);
/* oklch */ color: oklch(40.7% 0.179 266.6);
Tailwind
colors: {
  custom: {
    50: '#7370c3',
    500: '#1e3aa8',
    950: '#000000',
  },
}
SCSS
$custom: #1e3aa8;
$custom-light: #7370c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3aa8",
  "rgb": {
    "r": 30,
    "g": 58,
    "b": 168
  },
  "hsl": {
    "h": 227.826,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40658,
    "c": 0.1788,
    "h": 266.6
  },
  "luminance": 0.06129
}

Semantic roles & 50–950 ramp

primary
#1E3AA8
secondary
#C7B15B
accent
#C93BED
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #1E3AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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