#1E4CAC#1E4CAC

#1E4CAC is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.6% C 0.162 H 262.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#1E4CAC
RGBrgb(30, 76, 172)
HSLhsl(221, 70%, 40%)
HSVhsv(221, 83%, 67%)
CMYKcmyk(82.6%, 55.8%, 0%, 32.5%)
CIE-LABlab(34.85, 21.23, -55.68)
CIE-LCHlch(34.85, 59.59, 290.87°)
OKLaboklab(44.58% -0.021 -0.1608)
OKLCHoklch(44.58% 0.162 262.5)
XYZxyz(10.5636, 8.4222, 40.0906)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4CAC #AC7E1E
analogous
#1E93AC #1E4CAC #371EAC
triadic
#1E4CAC #AC1E4C #4CAC1E
tetradic
#1E4CAC #AC1E93 #AC7E1E #1EAC37
square
#1E4CAC #AC1E93 #AC7E1E #1EAC37
split-complementary
#1E4CAC #AC371E #93AC1E
monochromatic
#0C1E44 #153578 #1E4CAC #2D65DA #618BE3

Accessibility & contrast

On white

7.82
#1E4CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#1E4CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4CAC
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4CAC#FFFFFF#000000##FFFFFF
##1E4CAC1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1e4cac;
/* rgb */ color: rgb(30, 76, 172);
/* oklch */ color: oklch(44.6% 0.162 262.5);
Tailwind
colors: {
  custom: {
    50: '#737dc5',
    500: '#1e4cac',
    950: '#000000',
  },
}
SCSS
$custom: #1e4cac;
$custom-light: #737dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4cac",
  "rgb": {
    "r": 30,
    "g": 76,
    "b": 172
  },
  "hsl": {
    "h": 220.563,
    "s": 70.297,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4458,
    "c": 0.16213,
    "h": 262.5
  },
  "luminance": 0.08423
}

Semantic roles & 50–950 ramp

primary
#1E4CAC
secondary
#C8A65E
accent
#B33BED
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090913
muted
#7B7B82

Preview Lab

Preview with #1E4CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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