#1E4D95#1E4D95

#1E4D95 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.0% C 0.129 H 259.0°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#1E4D95
RGBrgb(30, 77, 149)
HSLhsl(216, 66%, 35%)
HSVhsv(216, 80%, 58%)
CMYKcmyk(79.9%, 48.3%, 0%, 41.6%)
CIE-LABlab(33.46, 11.37, -44.09)
CIE-LCHlch(33.46, 45.54, 284.47°)
OKLaboklab(42.99% -0.0247 -0.1267)
OKLCHoklch(42.99% 0.129 259)
XYZxyz(8.6121, 7.7527, 29.4705)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4D95 #95661E
analogous
#1E8895 #1E4D95 #2B1E95
triadic
#1E4D95 #951E4D #4D951E
tetradic
#1E4D95 #951E88 #95661E #1E952B
square
#1E4D95 #951E88 #95661E #1E952B
split-complementary
#1E4D95 #952B1E #88951E
monochromatic
#09182F #143362 #1E4D95 #2867C8 #5188DC

Accessibility & contrast

On white

8.23
#1E4D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#1E4D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4D95
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4D95#FFFFFF#000000##FFFFFF
##1E4D951.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255498
Deuteranopia (green-blind)
#004A94
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1e4d95;
/* rgb */ color: rgb(30, 77, 149);
/* oklch */ color: oklch(43.0% 0.129 259.0);
Tailwind
colors: {
  custom: {
    50: '#6d7eb5',
    500: '#1e4d95',
    950: '#000000',
  },
}
SCSS
$custom: #1e4d95;
$custom-light: #6d7eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4d95",
  "rgb": {
    "r": 30,
    "g": 77,
    "b": 149
  },
  "hsl": {
    "h": 216.303,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42993,
    "c": 0.12903,
    "h": 259
  },
  "luminance": 0.07754
}

Semantic roles & 50–950 ramp

primary
#1E4D95
secondary
#BF9350
accent
#A63EE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1E4D95

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

Preview Lab → · Contrast checker → · Palette generator →

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