#1E4E9F#1E4E9F

#1E4E9F is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.0% C 0.142 H 260.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#1E4E9F
RGBrgb(30, 78, 159)
HSLhsl(218, 68%, 37%)
HSVhsv(218, 81%, 62%)
CMYKcmyk(81.1%, 50.9%, 0%, 37.6%)
CIE-LABlab(34.45, 14.71, -48.54)
CIE-LCHlch(34.45, 50.72, 286.85°)
OKLaboklab(43.97% -0.0239 -0.1397)
OKLCHoklch(43.97% 0.142 260.3)
XYZxyz(9.5155, 8.2269, 33.8806)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4E9F #9F6F1E
analogous
#1E8F9F #1E4E9F #2E1E9F
triadic
#1E4E9F #9F1E4E #4E9F1E
tetradic
#1E4E9F #9F1E8F #9F6F1E #1E9F2E
square
#1E4E9F #9F1E8F #9F6F1E #1E9F2E
split-complementary
#1E4E9F #9F2E1E #8F9F1E
monochromatic
#0B1B38 #14356C #1E4E9F #2867D2 #588ADF

Accessibility & contrast

On white

7.94
#1E4E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#1E4E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4E9F
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4E9F#FFFFFF#000000##FFFFFF
##1E4E9F1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B57A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1e4e9f;
/* rgb */ color: rgb(30, 78, 159);
/* oklch */ color: oklch(44.0% 0.142 260.3);
Tailwind
colors: {
  custom: {
    50: '#707ebc',
    500: '#1e4e9f',
    950: '#000000',
  },
}
SCSS
$custom: #1e4e9f;
$custom-light: #707ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4e9f",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 159
  },
  "hsl": {
    "h": 217.674,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43974,
    "c": 0.14176,
    "h": 260.3
  },
  "luminance": 0.08228
}

Semantic roles & 50–950 ramp

primary
#1E4E9F
secondary
#C39A56
accent
#AA3DEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1E4E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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