#1E4B8B#1E4B8B

#1E4B8B is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.8% C 0.117 H 257.8°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#1E4B8B
RGBrgb(30, 75, 139)
HSLhsl(215, 64%, 33%)
HSVhsv(215, 78%, 55%)
CMYKcmyk(78.4%, 46%, 0%, 45.5%)
CIE-LABlab(32.19, 8.71, -40.02)
CIE-LCHlch(32.19, 40.96, 282.28°)
OKLaboklab(41.8% -0.0248 -0.1147)
OKLCHoklch(41.8% 0.117 257.8)
XYZxyz(7.7100, 7.1714, 25.3990)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4B8B #8B5E1E
analogous
#1E818B #1E4B8B #271E8B
triadic
#1E4B8B #8B1E4B #4B8B1E
tetradic
#1E4B8B #8B1E81 #8B5E1E #1E8B27
square
#1E4B8B #8B1E81 #8B5E1E #1E8B27
split-complementary
#1E4B8B #8B271E #818B1E
monochromatic
#081526 #133059 #1E4B8B #2966BD #4B85D8

Accessibility & contrast

On white

8.63
#1E4B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1E4B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4B8B
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4B8B#FFFFFF#000000##FFFFFF
##1E4B8B1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A518D
Deuteranopia (green-blind)
#13478A
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1e4b8b;
/* rgb */ color: rgb(30, 75, 139);
/* oklch */ color: oklch(41.8% 0.117 257.8);
Tailwind
colors: {
  custom: {
    50: '#6b7cad',
    500: '#1e4b8b',
    950: '#000000',
  },
}
SCSS
$custom: #1e4b8b;
$custom-light: #6b7cad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4b8b",
  "rgb": {
    "r": 30,
    "g": 75,
    "b": 139
  },
  "hsl": {
    "h": 215.229,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41801,
    "c": 0.11737,
    "h": 257.8
  },
  "luminance": 0.07172
}

Semantic roles & 50–950 ramp

primary
#1E4B8B
secondary
#BB8C4A
accent
#A240E7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1E4B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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