#1E289F#1E289F

#1E289F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.187 H 269.5°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#1E289F
RGBrgb(30, 40, 159)
HSLhsl(235, 68%, 37%)
HSVhsv(235, 81%, 62%)
CMYKcmyk(81.1%, 74.8%, 0%, 37.6%)
CIE-LABlab(24.63, 39.82, -64.60)
CIE-LCHlch(24.63, 75.89, 301.65°)
OKLaboklab(36.68% -0.0017 -0.1872)
OKLCHoklch(36.68% 0.187 269.5)
XYZxyz(7.5501, 4.2959, 33.2254)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E289F #9F951E
analogous
#1E699F #1E289F #551E9F
triadic
#1E289F #9F1E28 #289F1E
tetradic
#1E289F #9F1E69 #9F951E #1E9F55
square
#1E289F #9F1E69 #9F951E #1E9F55
split-complementary
#1E289F #9F551E #699F1E
monochromatic
#0B0E38 #141B6C #1E289F #2835D2 #5862DF

Accessibility & contrast

On white

11.29
#1E289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1E289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E289F
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E289F#FFFFFF#000000##FFFFFF
##1E289F1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e289f;
/* rgb */ color: rgb(30, 40, 159);
/* oklch */ color: oklch(36.7% 0.187 269.5);
Tailwind
colors: {
  custom: {
    50: '#7363bd',
    500: '#1e289f',
    950: '#000000',
  },
}
SCSS
$custom: #1e289f;
$custom-light: #7363bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1e289f",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 235.349,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36684,
    "c": 0.18717,
    "h": 269.5
  },
  "luminance": 0.04297
}

Semantic roles & 50–950 ramp

primary
#1E289F
secondary
#C3BB56
accent
#DE3DEB
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #1E289F

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

Preview Lab → · Contrast checker → · Palette generator →

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