#1E4F9D#1E4F9D

#1E4F9D is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.138 H 259.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#1E4F9D
RGBrgb(30, 79, 157)
HSLhsl(217, 68%, 37%)
HSVhsv(217, 81%, 62%)
CMYKcmyk(80.9%, 49.7%, 0%, 38.4%)
CIE-LABlab(34.60, 13.23, -47.09)
CIE-LCHlch(34.60, 48.92, 285.69°)
OKLaboklab(44.05% -0.025 -0.1354)
OKLCHoklch(44.05% 0.138 259.5)
XYZxyz(9.4150, 8.3012, 32.9978)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4F9D #9D6C1E
analogous
#1E8F9D #1E4F9D #2C1E9D
triadic
#1E4F9D #9D1E4F #4F9D1E
tetradic
#1E4F9D #9D1E8F #9D6C1E #1E9D2C
square
#1E4F9D #9D1E8F #9D6C1E #1E9D2C
split-complementary
#1E4F9D #9D2C1E #8F9D1E
monochromatic
#0A1B36 #14356A #1E4F9D #2869D0 #578BDF

Accessibility & contrast

On white

7.89
#1E4F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#1E4F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4F9D
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4F9D#FFFFFF#000000##FFFFFF
##1E4F9D1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2157A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1e4f9d;
/* rgb */ color: rgb(30, 79, 157);
/* oklch */ color: oklch(44.0% 0.138 259.5);
Tailwind
colors: {
  custom: {
    50: '#6f7fba',
    500: '#1e4f9d',
    950: '#000000',
  },
}
SCSS
$custom: #1e4f9d;
$custom-light: #6f7fba;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4f9d",
  "rgb": {
    "r": 30,
    "g": 79,
    "b": 157
  },
  "hsl": {
    "h": 216.85,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44045,
    "c": 0.13773,
    "h": 259.5
  },
  "luminance": 0.08302
}

Semantic roles & 50–950 ramp

primary
#1E4F9D
secondary
#C29854
accent
#A83DEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1E4F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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