#1E4A94#1E4A94

#1E4A94 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.2% C 0.131 H 260.2°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#1E4A94
RGBrgb(30, 74, 148)
HSLhsl(218, 66%, 35%)
HSVhsv(218, 80%, 58%)
CMYKcmyk(79.7%, 50%, 0%, 42%)
CIE-LABlab(32.50, 13.00, -45.03)
CIE-LCHlch(32.50, 46.87, 286.11°)
OKLaboklab(42.24% -0.0223 -0.1295)
OKLCHoklch(42.24% 0.131 260.2)
XYZxyz(8.3276, 7.3107, 28.9834)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4A94 #94681E
analogous
#1E8594 #1E4A94 #2D1E94
triadic
#1E4A94 #941E4A #4A941E
tetradic
#1E4A94 #941E85 #94681E #1E942D
square
#1E4A94 #941E85 #94681E #1E942D
split-complementary
#1E4A94 #942D1E #85941E
monochromatic
#09172E #143161 #1E4A94 #2863C7 #5185DC

Accessibility & contrast

On white

8.53
#1E4A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1E4A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4A94
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4A94#FFFFFF#000000##FFFFFF
##1E4A941.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5297
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1e4a94;
/* rgb */ color: rgb(30, 74, 148);
/* oklch */ color: oklch(42.2% 0.131 260.2);
Tailwind
colors: {
  custom: {
    50: '#6d7bb4',
    500: '#1e4a94',
    950: '#000000',
  },
}
SCSS
$custom: #1e4a94;
$custom-light: #6d7bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4a94",
  "rgb": {
    "r": 30,
    "g": 74,
    "b": 148
  },
  "hsl": {
    "h": 217.627,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42235,
    "c": 0.13137,
    "h": 260.2
  },
  "luminance": 0.07312
}

Semantic roles & 50–950 ramp

primary
#1E4A94
secondary
#BF954F
accent
#AA3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1E4A94

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

Preview Lab → · Contrast checker → · Palette generator →

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