#1E4A9F#1E4A9F

#1E4A9F is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.147 H 261.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#1E4A9F
RGBrgb(30, 74, 159)
HSLhsl(220, 68%, 37%)
HSVhsv(220, 81%, 62%)
CMYKcmyk(81.1%, 53.5%, 0%, 37.6%)
CIE-LABlab(33.30, 17.41, -50.41)
CIE-LCHlch(33.30, 53.33, 289.06°)
OKLaboklab(43.09% -0.0209 -0.1453)
OKLCHoklch(43.09% 0.147 261.8)
XYZxyz(9.2400, 7.6757, 33.7887)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4A9F #9F731E
analogous
#1E8B9F #1E4A9F #331E9F
triadic
#1E4A9F #9F1E4A #4A9F1E
tetradic
#1E4A9F #9F1E8B #9F731E #1E9F33
square
#1E4A9F #9F1E8B #9F731E #1E9F33
split-complementary
#1E4A9F #9F331E #8B9F1E
monochromatic
#0B1A38 #14326C #1E4A9F #2862D2 #5886DF

Accessibility & contrast

On white

8.28
#1E4A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1E4A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4A9F
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4A9F#FFFFFF#000000##FFFFFF
##1E4A9F1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A54A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1e4a9f;
/* rgb */ color: rgb(30, 74, 159);
/* oklch */ color: oklch(43.1% 0.147 261.8);
Tailwind
colors: {
  custom: {
    50: '#707bbc',
    500: '#1e4a9f',
    950: '#000000',
  },
}
SCSS
$custom: #1e4a9f;
$custom-light: #707bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4a9f",
  "rgb": {
    "r": 30,
    "g": 74,
    "b": 159
  },
  "hsl": {
    "h": 219.535,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43094,
    "c": 0.14679,
    "h": 261.8
  },
  "luminance": 0.07677
}

Semantic roles & 50–950 ramp

primary
#1E4A9F
secondary
#C39E56
accent
#B03DEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1E4A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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