#1E4E9E#1E4E9E

#1E4E9E is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.140 H 260.1°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#1E4E9E
RGBrgb(30, 78, 158)
HSLhsl(218, 68%, 37%)
HSVhsv(218, 81%, 62%)
CMYKcmyk(81%, 50.6%, 0%, 38%)
CIE-LABlab(34.38, 14.31, -48.06)
CIE-LCHlch(34.38, 50.14, 286.58°)
OKLaboklab(43.9% -0.0241 -0.1383)
OKLCHoklch(43.9% 0.14 260.1)
XYZxyz(9.4291, 8.1923, 33.4254)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4E9E #9E6E1E
analogous
#1E8E9E #1E4E9E #2E1E9E
triadic
#1E4E9E #9E1E4E #4E9E1E
tetradic
#1E4E9E #9E1E8E #9E6E1E #1E9E2E
square
#1E4E9E #9E1E8E #9E6E1E #1E9E2E
split-complementary
#1E4E9E #9E2E1E #8E9E1E
monochromatic
#0A1B37 #14356B #1E4E9E #2867D1 #578ADF

Accessibility & contrast

On white

7.96
#1E4E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#1E4E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4E9E
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4E9E#FFFFFF#000000##FFFFFF
##1E4E9E1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D57A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1e4e9e;
/* rgb */ color: rgb(30, 78, 158);
/* oklch */ color: oklch(43.9% 0.140 260.1);
Tailwind
colors: {
  custom: {
    50: '#6f7ebb',
    500: '#1e4e9e',
    950: '#000000',
  },
}
SCSS
$custom: #1e4e9e;
$custom-light: #6f7ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4e9e",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 158
  },
  "hsl": {
    "h": 217.5,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43897,
    "c": 0.14037,
    "h": 260.1
  },
  "luminance": 0.08193
}

Semantic roles & 50–950 ramp

primary
#1E4E9E
secondary
#C39A55
accent
#AA3DEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1E4E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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