#1E4D9F#1E4D9F

#1E4D9F is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.143 H 260.7°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#1E4D9F
RGBrgb(30, 77, 159)
HSLhsl(218, 68%, 37%)
HSVhsv(218, 81%, 62%)
CMYKcmyk(81.1%, 51.6%, 0%, 37.6%)
CIE-LABlab(34.16, 15.38, -49.01)
CIE-LCHlch(34.16, 51.37, 287.42°)
OKLaboklab(43.75% -0.0231 -0.1411)
OKLCHoklch(43.75% 0.143 260.7)
XYZxyz(9.4450, 8.0859, 33.8571)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4D9F #9F701E
analogous
#1E8D9F #1E4D9F #301E9F
triadic
#1E4D9F #9F1E4D #4D9F1E
tetradic
#1E4D9F #9F1E8D #9F701E #1E9F30
square
#1E4D9F #9F1E8D #9F701E #1E9F30
split-complementary
#1E4D9F #9F301E #8D9F1E
monochromatic
#0B1B38 #14346C #1E4D9F #2866D2 #5889DF

Accessibility & contrast

On white

8.02
#1E4D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#1E4D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4D9F
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4D9F#FFFFFF#000000##FFFFFF
##1E4D9F1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1857A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1e4d9f;
/* rgb */ color: rgb(30, 77, 159);
/* oklch */ color: oklch(43.8% 0.143 260.7);
Tailwind
colors: {
  custom: {
    50: '#707ebc',
    500: '#1e4d9f',
    950: '#000000',
  },
}
SCSS
$custom: #1e4d9f;
$custom-light: #707ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4d9f",
  "rgb": {
    "r": 30,
    "g": 77,
    "b": 159
  },
  "hsl": {
    "h": 218.14,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43752,
    "c": 0.14302,
    "h": 260.7
  },
  "luminance": 0.08087
}

Semantic roles & 50–950 ramp

primary
#1E4D9F
secondary
#C39B56
accent
#AC3DEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1E4D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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