#1E2783#1E2783

#1E2783 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.152 H 270.9°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#1E2783
RGBrgb(30, 39, 131)
HSLhsl(235, 63%, 32%)
HSVhsv(235, 77%, 51%)
CMYKcmyk(77.1%, 70.2%, 0%, 48.6%)
CIE-LABlab(21.45, 30.27, -52.50)
CIE-LCHlch(21.45, 60.60, 299.97°)
OKLaboklab(33.52% 0.0023 -0.1519)
OKLCHoklch(33.52% 0.152 270.9)
XYZxyz(5.3563, 3.3652, 21.8356)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2783 #837A1E
analogous
#1E5A83 #1E2783 #481E83
triadic
#1E2783 #831E27 #27831E
tetradic
#1E2783 #831E5A #837A1E #1E8348
square
#1E2783 #831E5A #837A1E #1E8348
split-complementary
#1E2783 #83481E #5A831E
monochromatic
#07091F #131851 #1E2783 #2936B5 #4753D5

Accessibility & contrast

On white

12.55
#1E2783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1E2783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2783
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2783#FFFFFF#000000##FFFFFF
##1E27831.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2783;
/* rgb */ color: rgb(30, 39, 131);
/* oklch */ color: oklch(33.5% 0.152 270.9);
Tailwind
colors: {
  custom: {
    50: '#6b61a8',
    500: '#1e2783',
    950: '#000000',
  },
}
SCSS
$custom: #1e2783;
$custom-light: #6b61a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2783",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 234.653,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33519,
    "c": 0.15191,
    "h": 270.9
  },
  "luminance": 0.03366
}

Semantic roles & 50–950 ramp

primary
#1E2783
secondary
#B6AC47
accent
#D742E6
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1E2783

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

Preview Lab → · Contrast checker → · Palette generator →

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