#1E4F94#1E4F94

#1E4F94 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.4% C 0.125 H 257.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#1E4F94
RGBrgb(30, 79, 148)
HSLhsl(215, 66%, 35%)
HSVhsv(215, 80%, 58%)
CMYKcmyk(79.7%, 46.6%, 0%, 42%)
CIE-LABlab(33.99, 9.63, -42.63)
CIE-LCHlch(33.99, 43.70, 282.73°)
OKLaboklab(43.38% -0.0265 -0.1223)
OKLCHoklch(43.38% 0.125 257.8)
XYZxyz(8.6747, 8.0051, 29.0992)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4F94 #94631E
analogous
#1E8A94 #1E4F94 #281E94
triadic
#1E4F94 #941E4F #4F941E
tetradic
#1E4F94 #941E8A #94631E #1E9428
square
#1E4F94 #941E8A #94631E #1E9428
split-complementary
#1E4F94 #94281E #8A941E
monochromatic
#09192E #143461 #1E4F94 #286AC7 #518ADC

Accessibility & contrast

On white

8.07
#1E4F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#1E4F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4F94
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4F94#FFFFFF#000000##FFFFFF
##1E4F941.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5697
Deuteranopia (green-blind)
#0E4B93
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1e4f94;
/* rgb */ color: rgb(30, 79, 148);
/* oklch */ color: oklch(43.4% 0.125 257.8);
Tailwind
colors: {
  custom: {
    50: '#6d7fb4',
    500: '#1e4f94',
    950: '#000000',
  },
}
SCSS
$custom: #1e4f94;
$custom-light: #6d7fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4f94",
  "rgb": {
    "r": 30,
    "g": 79,
    "b": 148
  },
  "hsl": {
    "h": 215.085,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43381,
    "c": 0.12516,
    "h": 257.8
  },
  "luminance": 0.08006
}

Semantic roles & 50–950 ramp

primary
#1E4F94
secondary
#BF904F
accent
#A23FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1E4F94

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

Preview Lab → · Contrast checker → · Palette generator →

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