#1E4A8B#1E4A8B

#1E4A8B is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.6% C 0.119 H 258.4°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#1E4A8B
RGBrgb(30, 74, 139)
HSLhsl(216, 64%, 33%)
HSVhsv(216, 78%, 55%)
CMYKcmyk(78.4%, 46.8%, 0%, 45.5%)
CIE-LABlab(31.89, 9.39, -40.51)
CIE-LCHlch(31.89, 41.58, 283.04°)
OKLaboklab(41.57% -0.0239 -0.1162)
OKLCHoklch(41.57% 0.119 258.4)
XYZxyz(7.6427, 7.0368, 25.3765)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4A8B #8B5F1E
analogous
#1E808B #1E4A8B #291E8B
triadic
#1E4A8B #8B1E4A #4A8B1E
tetradic
#1E4A8B #8B1E80 #8B5F1E #1E8B29
square
#1E4A8B #8B1E80 #8B5F1E #1E8B29
split-complementary
#1E4A8B #8B291E #808B1E
monochromatic
#081426 #132F59 #1E4A8B #2965BD #4B84D8

Accessibility & contrast

On white

8.72
#1E4A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#1E4A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4A8B
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4A8B#FFFFFF#000000##FFFFFF
##1E4A8B1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508D
Deuteranopia (green-blind)
#0F468A
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1e4a8b;
/* rgb */ color: rgb(30, 74, 139);
/* oklch */ color: oklch(41.6% 0.119 258.4);
Tailwind
colors: {
  custom: {
    50: '#6b7cad',
    500: '#1e4a8b',
    950: '#000000',
  },
}
SCSS
$custom: #1e4a8b;
$custom-light: #6b7cad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4a8b",
  "rgb": {
    "r": 30,
    "g": 74,
    "b": 139
  },
  "hsl": {
    "h": 215.78,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41566,
    "c": 0.1186,
    "h": 258.4
  },
  "luminance": 0.07038
}

Semantic roles & 50–950 ramp

primary
#1E4A8B
secondary
#BB8D4A
accent
#A440E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1E4A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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