#1E3FA7#1E3FA7

#1E3FA7 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.171 H 265.6°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#1E3FA7
RGBrgb(30, 63, 167)
HSLhsl(226, 70%, 39%)
HSVhsv(226, 82%, 65%)
CMYKcmyk(82%, 62.3%, 0%, 34.5%)
CIE-LABlab(30.93, 28.02, -59.09)
CIE-LCHlch(30.93, 65.39, 295.37°)
OKLaboklab(41.51% -0.0132 -0.171)
OKLCHoklch(41.51% 0.171 265.6)
XYZxyz(9.2855, 6.6199, 37.3401)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3FA7 #A7861E
analogous
#1E83A7 #1E3FA7 #411EA7
triadic
#1E3FA7 #A71E3F #3FA71E
tetradic
#1E3FA7 #A71E83 #A7861E #1EA741
square
#1E3FA7 #A71E83 #A7861E #1EA741
split-complementary
#1E3FA7 #A7411E #83A71E
monochromatic
#0B183F #152B73 #1E3FA7 #2A54D9 #5D7DE2

Accessibility & contrast

On white

9.04
#1E3FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#1E3FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3FA7
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3FA7#FFFFFF#000000##FFFFFF
##1E3FA71.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0043A5
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1e3fa7;
/* rgb */ color: rgb(30, 63, 167);
/* oklch */ color: oklch(41.5% 0.171 265.6);
Tailwind
colors: {
  custom: {
    50: '#7373c2',
    500: '#1e3fa7',
    950: '#000000',
  },
}
SCSS
$custom: #1e3fa7;
$custom-light: #7373c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3fa7",
  "rgb": {
    "r": 30,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 225.547,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41512,
    "c": 0.17148,
    "h": 265.6
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

primary
#1E3FA7
secondary
#C6AC5B
accent
#C23BEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1E3FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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