#1E4E9C#1E4E9C

#1E4E9C is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.138 H 259.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#1E4E9C
RGBrgb(30, 78, 156)
HSLhsl(217, 68%, 36%)
HSVhsv(217, 81%, 61%)
CMYKcmyk(80.8%, 50%, 0%, 38.8%)
CIE-LABlab(34.24, 13.51, -47.08)
CIE-LCHlch(34.24, 48.98, 286.01°)
OKLaboklab(43.74% -0.0244 -0.1354)
OKLCHoklch(43.74% 0.138 259.8)
XYZxyz(9.2584, 8.1240, 32.5262)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4E9C #9C6C1E
analogous
#1E8D9C #1E4E9C #2D1E9C
triadic
#1E4E9C #9C1E4E #4E9C1E
tetradic
#1E4E9C #9C1E8D #9C6C1E #1E9C2D
square
#1E4E9C #9C1E8D #9C6C1E #1E9C2D
split-complementary
#1E4E9C #9C2D1E #8D9C1E
monochromatic
#0A1B35 #143469 #1E4E9C #2868CF #568ADE

Accessibility & contrast

On white

8.00
#1E4E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#1E4E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4E9C
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4E9C#FFFFFF#000000##FFFFFF
##1E4E9C1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F579F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1e4e9c;
/* rgb */ color: rgb(30, 78, 156);
/* oklch */ color: oklch(43.7% 0.138 259.8);
Tailwind
colors: {
  custom: {
    50: '#6f7eba',
    500: '#1e4e9c',
    950: '#000000',
  },
}
SCSS
$custom: #1e4e9c;
$custom-light: #6f7eba;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4e9c",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 156
  },
  "hsl": {
    "h": 217.143,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43744,
    "c": 0.13758,
    "h": 259.8
  },
  "luminance": 0.08125
}

Semantic roles & 50–950 ramp

primary
#1E4E9C
secondary
#C29854
accent
#A93DEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #1E4E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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