#1E4E95#1E4E95

#1E4E95 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.2% C 0.128 H 258.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#1E4E95
RGBrgb(30, 78, 149)
HSLhsl(216, 66%, 35%)
HSVhsv(216, 80%, 58%)
CMYKcmyk(79.9%, 47.7%, 0%, 41.6%)
CIE-LABlab(33.76, 10.70, -43.61)
CIE-LCHlch(33.76, 44.91, 283.79°)
OKLaboklab(43.22% -0.0255 -0.1252)
OKLCHoklch(43.22% 0.128 258.5)
XYZxyz(8.6826, 7.8937, 29.4940)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4E95 #95651E
analogous
#1E8A95 #1E4E95 #291E95
triadic
#1E4E95 #951E4E #4E951E
tetradic
#1E4E95 #951E8A #95651E #1E9529
square
#1E4E95 #951E8A #95651E #1E9529
split-complementary
#1E4E95 #95291E #8A951E
monochromatic
#09192F #143362 #1E4E95 #2869C8 #5189DC

Accessibility & contrast

On white

8.14
#1E4E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E4E95
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4E95#FFFFFF#000000##FFFFFF
##1E4E951.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275598
Deuteranopia (green-blind)
#064A94
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1e4e95;
/* rgb */ color: rgb(30, 78, 149);
/* oklch */ color: oklch(43.2% 0.128 258.5);
Tailwind
colors: {
  custom: {
    50: '#6d7fb5',
    500: '#1e4e95',
    950: '#000000',
  },
}
SCSS
$custom: #1e4e95;
$custom-light: #6d7fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4e95",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 215.798,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43223,
    "c": 0.12778,
    "h": 258.5
  },
  "luminance": 0.07895
}

Semantic roles & 50–950 ramp

primary
#1E4E95
secondary
#BF9250
accent
#A43EE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1E4E95

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

Preview Lab → · Contrast checker → · Palette generator →

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