#1E3FA8#1E3FA8

#1E3FA8 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.173 H 265.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#1E3FA8
RGBrgb(30, 63, 168)
HSLhsl(226, 70%, 39%)
HSVhsv(226, 82%, 66%)
CMYKcmyk(82.1%, 62.5%, 0%, 34.1%)
CIE-LABlab(31.01, 28.40, -59.54)
CIE-LCHlch(31.01, 65.97, 295.50°)
OKLaboklab(41.6% -0.0132 -0.1723)
OKLCHoklch(41.6% 0.173 265.6)
XYZxyz(9.3783, 6.6571, 37.8289)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3FA8 #A8871E
analogous
#1E84A8 #1E3FA8 #421EA8
triadic
#1E3FA8 #A81E3F #3FA81E
tetradic
#1E3FA8 #A81E84 #A8871E #1EA842
square
#1E3FA8 #A81E84 #A8871E #1EA842
split-complementary
#1E3FA8 #A8421E #84A81E
monochromatic
#0B1840 #152C74 #1E3FA8 #2A54D9 #5E7EE2

Accessibility & contrast

On white

9.01
#1E3FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1E3FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3FA8
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3FA8#FFFFFF#000000##FFFFFF
##1E3FA81.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AB
Deuteranopia (green-blind)
#0043A6
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1e3fa8;
/* rgb */ color: rgb(30, 63, 168);
/* oklch */ color: oklch(41.6% 0.173 265.6);
Tailwind
colors: {
  custom: {
    50: '#7373c3',
    500: '#1e3fa8',
    950: '#000000',
  },
}
SCSS
$custom: #1e3fa8;
$custom-light: #7373c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3fa8",
  "rgb": {
    "r": 30,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 225.652,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41604,
    "c": 0.1728,
    "h": 265.6
  },
  "luminance": 0.06658
}

Semantic roles & 50–950 ramp

primary
#1E3FA8
secondary
#C7AD5B
accent
#C23BED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090813
muted
#7B7B82

Preview Lab

Preview with #1E3FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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