#1E4A9B#1E4A9B

#1E4A9B is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.141 H 261.3°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#1E4A9B
RGBrgb(30, 74, 155)
HSLhsl(219, 68%, 36%)
HSVhsv(219, 81%, 61%)
CMYKcmyk(80.6%, 52.3%, 0%, 39.2%)
CIE-LABlab(33.00, 15.81, -48.47)
CIE-LCHlch(33.00, 50.98, 288.07°)
OKLaboklab(42.78% -0.0214 -0.1396)
OKLCHoklch(42.78% 0.141 261.3)
XYZxyz(8.8985, 7.5391, 31.9902)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4A9B #9B6F1E
analogous
#1E899B #1E4A9B #311E9B
triadic
#1E4A9B #9B1E4A #4A9B1E
tetradic
#1E4A9B #9B1E89 #9B6F1E #1E9B31
square
#1E4A9B #9B1E89 #9B6F1E #1E9B31
split-complementary
#1E4A9B #9B311E #899B1E
monochromatic
#0A1934 #143268 #1E4A9B #2862CE #5585DE

Accessibility & contrast

On white

8.37
#1E4A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1E4A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4A9B
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4A9B#FFFFFF#000000##FFFFFF
##1E4A9B1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14549E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1e4a9b;
/* rgb */ color: rgb(30, 74, 155);
/* oklch */ color: oklch(42.8% 0.141 261.3);
Tailwind
colors: {
  custom: {
    50: '#6f7bb9',
    500: '#1e4a9b',
    950: '#000000',
  },
}
SCSS
$custom: #1e4a9b;
$custom-light: #6f7bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4a9b",
  "rgb": {
    "r": 30,
    "g": 74,
    "b": 155
  },
  "hsl": {
    "h": 218.88,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42777,
    "c": 0.14122,
    "h": 261.3
  },
  "luminance": 0.0754
}

Semantic roles & 50–950 ramp

primary
#1E4A9B
secondary
#C29B53
accent
#AE3DEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1E4A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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