#1E4BA7#1E4BA7

#1E4BA7 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.0% C 0.157 H 262.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#1E4BA7
RGBrgb(30, 75, 167)
HSLhsl(220, 70%, 39%)
HSVhsv(220, 82%, 65%)
CMYKcmyk(82%, 55.1%, 0%, 34.5%)
CIE-LABlab(34.18, 19.92, -53.77)
CIE-LCHlch(34.18, 57.35, 290.33°)
OKLaboklab(43.96% -0.0208 -0.1552)
OKLCHoklch(43.96% 0.157 262.4)
XYZxyz(10.0240, 8.0970, 37.5863)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4BA7 #A77A1E
analogous
#1E8FA7 #1E4BA7 #351EA7
triadic
#1E4BA7 #A71E4B #4BA71E
tetradic
#1E4BA7 #A71E8F #A77A1E #1EA735
square
#1E4BA7 #A71E8F #A77A1E #1EA735
split-complementary
#1E4BA7 #A7351E #8FA71E
monochromatic
#0B1C3F #153473 #1E4BA7 #2A63D9 #5D89E2

Accessibility & contrast

On white

8.02
#1E4BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#1E4BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4BA7
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4BA7#FFFFFF#000000##FFFFFF
##1E4BA71.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1e4ba7;
/* rgb */ color: rgb(30, 75, 167);
/* oklch */ color: oklch(44.0% 0.157 262.4);
Tailwind
colors: {
  custom: {
    50: '#727cc2',
    500: '#1e4ba7',
    950: '#000000',
  },
}
SCSS
$custom: #1e4ba7;
$custom-light: #727cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4ba7",
  "rgb": {
    "r": 30,
    "g": 75,
    "b": 167
  },
  "hsl": {
    "h": 220.292,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43957,
    "c": 0.15657,
    "h": 262.4
  },
  "luminance": 0.08098
}

Semantic roles & 50–950 ramp

primary
#1E4BA7
secondary
#C6A35B
accent
#B23BEC
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1E4BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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