#1E2689#1E2689

#1E2689 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.161 H 270.8°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#1E2689
RGBrgb(30, 38, 137)
HSLhsl(236, 64%, 33%)
HSVhsv(236, 78%, 54%)
CMYKcmyk(78.1%, 72.3%, 0%, 46.3%)
CIE-LABlab(21.83, 33.15, -55.64)
CIE-LCHlch(21.83, 64.77, 300.78°)
OKLaboklab(33.98% 0.0022 -0.1611)
OKLCHoklch(33.98% 0.161 270.8)
XYZxyz(5.7424, 3.4678, 24.0288)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2689 #89811E
analogous
#1E5B89 #1E2689 #4B1E89
triadic
#1E2689 #891E26 #26891E
tetradic
#1E2689 #891E5B #89811E #1E894B
square
#1E2689 #891E5B #89811E #1E894B
split-complementary
#1E2689 #894B1E #5B891E
monochromatic
#080A25 #131857 #1E2689 #2934BB #4A55D7

Accessibility & contrast

On white

12.40
#1E2689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1E2689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2689
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2689#FFFFFF#000000##FFFFFF
##1E26891.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#002F87
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2689;
/* rgb */ color: rgb(30, 38, 137);
/* oklch */ color: oklch(34.0% 0.161 270.8);
Tailwind
colors: {
  custom: {
    50: '#6d61ac',
    500: '#1e2689',
    950: '#000000',
  },
}
SCSS
$custom: #1e2689;
$custom-light: #6d61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2689",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 235.514,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33977,
    "c": 0.16108,
    "h": 270.8
  },
  "luminance": 0.03468
}

Semantic roles & 50–950 ramp

primary
#1E2689
secondary
#BAB149
accent
#DB41E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2689

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

Preview Lab → · Contrast checker → · Palette generator →

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