#1E4C9D#1E4C9D

#1E4C9D is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.4% C 0.141 H 260.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#1E4C9D
RGBrgb(30, 76, 157)
HSLhsl(218, 68%, 37%)
HSVhsv(218, 81%, 62%)
CMYKcmyk(80.9%, 51.6%, 0%, 38.4%)
CIE-LABlab(33.73, 15.26, -48.51)
CIE-LCHlch(33.73, 50.85, 287.46°)
OKLaboklab(43.38% -0.0226 -0.1397)
OKLCHoklch(43.38% 0.141 260.8)
XYZxyz(9.2035, 7.8781, 32.9273)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4C9D #9D6F1E
analogous
#1E8C9D #1E4C9D #301E9D
triadic
#1E4C9D #9D1E4C #4C9D1E
tetradic
#1E4C9D #9D1E8C #9D6F1E #1E9D30
square
#1E4C9D #9D1E8C #9D6F1E #1E9D30
split-complementary
#1E4C9D #9D301E #8C9D1E
monochromatic
#0A1A36 #14336A #1E4C9D #2865D0 #5788DF

Accessibility & contrast

On white

8.15
#1E4C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#1E4C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4C9D
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4C9D#FFFFFF#000000##FFFFFF
##1E4C9D1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1855A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1e4c9d;
/* rgb */ color: rgb(30, 76, 157);
/* oklch */ color: oklch(43.4% 0.141 260.8);
Tailwind
colors: {
  custom: {
    50: '#6f7dba',
    500: '#1e4c9d',
    950: '#000000',
  },
}
SCSS
$custom: #1e4c9d;
$custom-light: #6f7dba;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4c9d",
  "rgb": {
    "r": 30,
    "g": 76,
    "b": 157
  },
  "hsl": {
    "h": 218.268,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43375,
    "c": 0.14148,
    "h": 260.8
  },
  "luminance": 0.07879
}

Semantic roles & 50–950 ramp

primary
#1E4C9D
secondary
#C29B54
accent
#AC3DEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1E4C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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