#1E4A9E#1E4A9E

#1E4A9E is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.0% C 0.145 H 261.7°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#1E4A9E
RGBrgb(30, 74, 158)
HSLhsl(219, 68%, 37%)
HSVhsv(219, 81%, 62%)
CMYKcmyk(81%, 53.2%, 0%, 38%)
CIE-LABlab(33.22, 17.01, -49.93)
CIE-LCHlch(33.22, 52.74, 288.82°)
OKLaboklab(43.01% -0.021 -0.1439)
OKLCHoklch(43.01% 0.145 261.7)
XYZxyz(9.1535, 7.6411, 33.3336)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4A9E #9E721E
analogous
#1E8A9E #1E4A9E #321E9E
triadic
#1E4A9E #9E1E4A #4A9E1E
tetradic
#1E4A9E #9E1E8A #9E721E #1E9E32
square
#1E4A9E #9E1E8A #9E721E #1E9E32
split-complementary
#1E4A9E #9E321E #8A9E1E
monochromatic
#0A1A37 #14326B #1E4A9E #2862D1 #5786DF

Accessibility & contrast

On white

8.31
#1E4A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1E4A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4A9E
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4A9E#FFFFFF#000000##FFFFFF
##1E4A9E1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D54A1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1e4a9e;
/* rgb */ color: rgb(30, 74, 158);
/* oklch */ color: oklch(43.0% 0.145 261.7);
Tailwind
colors: {
  custom: {
    50: '#6f7bbb',
    500: '#1e4a9e',
    950: '#000000',
  },
}
SCSS
$custom: #1e4a9e;
$custom-light: #6f7bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4a9e",
  "rgb": {
    "r": 30,
    "g": 74,
    "b": 158
  },
  "hsl": {
    "h": 219.375,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43014,
    "c": 0.1454,
    "h": 261.7
  },
  "luminance": 0.07642
}

Semantic roles & 50–950 ramp

primary
#1E4A9E
secondary
#C39D55
accent
#AF3DEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1E4A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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