#1E4C8F#1E4C8F

#1E4C8F is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.3% C 0.122 H 258.2°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#1E4C8F
RGBrgb(30, 76, 143)
HSLhsl(216, 65%, 34%)
HSVhsv(216, 79%, 56%)
CMYKcmyk(79%, 46.9%, 0%, 43.9%)
CIE-LABlab(32.76, 9.64, -41.56)
CIE-LCHlch(32.76, 42.67, 283.06°)
OKLaboklab(42.32% -0.0249 -0.1192)
OKLCHoklch(42.32% 0.122 258.2)
XYZxyz(8.0760, 7.4271, 26.9892)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4C8F #8F611E
analogous
#1E858F #1E4C8F #291E8F
triadic
#1E4C8F #8F1E4C #4C8F1E
tetradic
#1E4C8F #8F1E85 #8F611E #1E8F29
square
#1E4C8F #8F1E85 #8F611E #1E8F29
split-complementary
#1E4C8F #8F291E #858F1E
monochromatic
#09162A #13315C #1E4C8F #2967C2 #4E87DA

Accessibility & contrast

On white

8.45
#1E4C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1E4C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4C8F
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4C8F#FFFFFF#000000##FFFFFF
##1E4C8F1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295392
Deuteranopia (green-blind)
#0E488E
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1e4c8f;
/* rgb */ color: rgb(30, 76, 143);
/* oklch */ color: oklch(42.3% 0.122 258.2);
Tailwind
colors: {
  custom: {
    50: '#6c7db0',
    500: '#1e4c8f',
    950: '#000000',
  },
}
SCSS
$custom: #1e4c8f;
$custom-light: #6c7db0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4c8f",
  "rgb": {
    "r": 30,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 215.575,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42323,
    "c": 0.1218,
    "h": 258.2
  },
  "luminance": 0.07428
}

Semantic roles & 50–950 ramp

primary
#1E4C8F
secondary
#BC8F4C
accent
#A440E8
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1E4C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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