#1E4B8A#1E4B8A

#1E4B8A is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.7% C 0.116 H 257.6°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#1E4B8A
RGBrgb(30, 75, 138)
HSLhsl(215, 64%, 33%)
HSVhsv(215, 78%, 54%)
CMYKcmyk(78.3%, 45.7%, 0%, 45.9%)
CIE-LABlab(32.13, 8.31, -39.51)
CIE-LCHlch(32.13, 40.38, 281.87°)
OKLaboklab(41.73% -0.025 -0.1132)
OKLCHoklch(41.73% 0.116 257.6)
XYZxyz(7.6373, 7.1423, 25.0159)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4B8A #8A5D1E
analogous
#1E818A #1E4B8A #271E8A
triadic
#1E4B8A #8A1E4B #4B8A1E
tetradic
#1E4B8A #8A1E81 #8A5D1E #1E8A27
square
#1E4B8A #8A1E81 #8A5D1E #1E8A27
split-complementary
#1E4B8A #8A271E #818A1E
monochromatic
#081425 #133058 #1E4B8A #2966BC #4B85D8

Accessibility & contrast

On white

8.65
#1E4B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E4B8A
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4B8A#FFFFFF#000000##FFFFFF
##1E4B8A1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B518C
Deuteranopia (green-blind)
#154789
Tritanopia (blue-blind)
#005A63
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1e4b8a;
/* rgb */ color: rgb(30, 75, 138);
/* oklch */ color: oklch(41.7% 0.116 257.6);
Tailwind
colors: {
  custom: {
    50: '#6b7cac',
    500: '#1e4b8a',
    950: '#000000',
  },
}
SCSS
$custom: #1e4b8a;
$custom-light: #6b7cac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4b8a",
  "rgb": {
    "r": 30,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 215,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41729,
    "c": 0.11594,
    "h": 257.6
  },
  "luminance": 0.07143
}

Semantic roles & 50–950 ramp

primary
#1E4B8A
secondary
#BA8B4A
accent
#A241E7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1E4B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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