#1E289B#1E289B

#1E289B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.182 H 269.6°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#1E289B
RGBrgb(30, 40, 155)
HSLhsl(235, 68%, 36%)
HSVhsv(235, 81%, 61%)
CMYKcmyk(80.6%, 74.2%, 0%, 39.2%)
CIE-LABlab(24.19, 38.41, -62.88)
CIE-LCHlch(24.19, 73.68, 301.42°)
OKLaboklab(36.24% -0.0012 -0.1821)
OKLCHoklch(36.24% 0.182 269.6)
XYZxyz(7.2086, 4.1593, 31.4269)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E289B #9B911E
analogous
#1E679B #1E289B #531E9B
triadic
#1E289B #9B1E28 #289B1E
tetradic
#1E289B #9B1E67 #9B911E #1E9B53
square
#1E289B #9B1E67 #9B911E #1E9B53
split-complementary
#1E289B #9B531E #679B1E
monochromatic
#0A0E34 #141B68 #1E289B #2835CE #5560DE

Accessibility & contrast

On white

11.46
#1E289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1E289B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E289B
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E289B#FFFFFF#000000##FFFFFF
##1E289B1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003399
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e289b;
/* rgb */ color: rgb(30, 40, 155);
/* oklch */ color: oklch(36.2% 0.182 269.6);
Tailwind
colors: {
  custom: {
    50: '#7263ba',
    500: '#1e289b',
    950: '#000000',
  },
}
SCSS
$custom: #1e289b;
$custom-light: #7263ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1e289b",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 235.2,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36244,
    "c": 0.18214,
    "h": 269.6
  },
  "luminance": 0.0416
}

Semantic roles & 50–950 ramp

primary
#1E289B
secondary
#C2B953
accent
#DD3DEA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #1E289B

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

Preview Lab → · Contrast checker → · Palette generator →

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