#1E3EA7#1E3EA7

#1E3EA7 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.173 H 265.8°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#1E3EA7
RGBrgb(30, 62, 167)
HSLhsl(226, 70%, 39%)
HSVhsv(226, 82%, 65%)
CMYKcmyk(82%, 62.9%, 0%, 34.5%)
CIE-LABlab(30.66, 28.69, -59.51)
CIE-LCHlch(30.66, 66.06, 295.73°)
OKLaboklab(41.32% -0.0126 -0.1722)
OKLCHoklch(41.32% 0.173 265.8)
XYZxyz(9.2306, 6.5102, 37.3218)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3EA7 #A7871E
analogous
#1E82A7 #1E3EA7 #421EA7
triadic
#1E3EA7 #A71E3E #3EA71E
tetradic
#1E3EA7 #A71E82 #A7871E #1EA742
square
#1E3EA7 #A71E82 #A7871E #1EA742
split-complementary
#1E3EA7 #A7421E #82A71E
monochromatic
#0B173F #152B73 #1E3EA7 #2A52D9 #5D7CE2

Accessibility & contrast

On white

9.12
#1E3EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1E3EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3EA7
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3EA7#FFFFFF#000000##FFFFFF
##1E3EA71.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1e3ea7;
/* rgb */ color: rgb(30, 62, 167);
/* oklch */ color: oklch(41.3% 0.173 265.8);
Tailwind
colors: {
  custom: {
    50: '#7373c2',
    500: '#1e3ea7',
    950: '#000000',
  },
}
SCSS
$custom: #1e3ea7;
$custom-light: #7373c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3ea7",
  "rgb": {
    "r": 30,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 225.985,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41318,
    "c": 0.17269,
    "h": 265.8
  },
  "luminance": 0.06511
}

Semantic roles & 50–950 ramp

primary
#1E3EA7
secondary
#C6AD5B
accent
#C33BEC
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1E3EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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