#1E4B9B#1E4B9B

#1E4B9B is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.0% C 0.140 H 260.9°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#1E4B9B
RGBrgb(30, 75, 155)
HSLhsl(218, 68%, 36%)
HSVhsv(218, 81%, 61%)
CMYKcmyk(80.6%, 51.6%, 0%, 39.2%)
CIE-LABlab(33.29, 15.13, -48.00)
CIE-LCHlch(33.29, 50.33, 287.50°)
OKLaboklab(43% -0.0221 -0.1382)
OKLCHoklch(43% 0.14 260.9)
XYZxyz(8.9657, 7.6737, 32.0126)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4B9B #9B6E1E
analogous
#1E8A9B #1E4B9B #301E9B
triadic
#1E4B9B #9B1E4B #4B9B1E
tetradic
#1E4B9B #9B1E8A #9B6E1E #1E9B30
square
#1E4B9B #9B1E8A #9B6E1E #1E9B30
split-complementary
#1E4B9B #9B301E #8A9B1E
monochromatic
#0A1934 #143268 #1E4B9B #2864CE #5587DE

Accessibility & contrast

On white

8.28
#1E4B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1E4B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4B9B
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4B9B#FFFFFF#000000##FFFFFF
##1E4B9B1.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18549E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1e4b9b;
/* rgb */ color: rgb(30, 75, 155);
/* oklch */ color: oklch(43.0% 0.140 260.9);
Tailwind
colors: {
  custom: {
    50: '#6f7cb9',
    500: '#1e4b9b',
    950: '#000000',
  },
}
SCSS
$custom: #1e4b9b;
$custom-light: #6f7cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4b9b",
  "rgb": {
    "r": 30,
    "g": 75,
    "b": 155
  },
  "hsl": {
    "h": 218.4,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42998,
    "c": 0.13995,
    "h": 260.9
  },
  "luminance": 0.07675
}

Semantic roles & 50–950 ramp

primary
#1E4B9B
secondary
#C29A53
accent
#AC3DEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1E4B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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