#1E3AA7#1E3AA7

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

Color values

HEX#1E3AA7
RGBrgb(30, 58, 167)
HSLhsl(228, 70%, 39%)
HSVhsv(228, 82%, 65%)
CMYKcmyk(82%, 65.3%, 0%, 34.5%)
CIE-LABlab(29.64, 31.35, -61.19)
CIE-LCHlch(29.64, 68.75, 297.12°)
OKLaboklab(40.56% -0.0105 -0.1772)
OKLCHoklch(40.56% 0.177 266.6)
XYZxyz(9.0211, 6.0911, 37.2520)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3AA7 #A78B1E
analogous
#1E7EA7 #1E3AA7 #461EA7
triadic
#1E3AA7 #A71E3A #3AA71E
tetradic
#1E3AA7 #A71E7E #A78B1E #1EA746
square
#1E3AA7 #A71E7E #A78B1E #1EA746
split-complementary
#1E3AA7 #A7461E #7EA71E
monochromatic
#0B163F #152873 #1E3AA7 #2A4DD9 #5D79E2

Accessibility & contrast

On white

9.47
#1E3AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1E3AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3AA7
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3AA7#FFFFFF#000000##FFFFFF
##1E3AA71.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAA
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1e3aa7;
/* rgb */ color: rgb(30, 58, 167);
/* oklch */ color: oklch(40.6% 0.177 266.6);
Tailwind
colors: {
  custom: {
    50: '#7370c2',
    500: '#1e3aa7',
    950: '#000000',
  },
}
SCSS
$custom: #1e3aa7;
$custom-light: #7370c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3aa7",
  "rgb": {
    "r": 30,
    "g": 58,
    "b": 167
  },
  "hsl": {
    "h": 227.737,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40562,
    "c": 0.17749,
    "h": 266.6
  },
  "luminance": 0.06092
}

Semantic roles & 50–950 ramp

primary
#1E3AA7
secondary
#C6B05B
accent
#C83BEC
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #1E3AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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