#1E2883#1E2883

#1E2883 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.151 H 270.7°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#1E2883
RGBrgb(30, 40, 131)
HSLhsl(234, 63%, 32%)
HSVhsv(234, 77%, 51%)
CMYKcmyk(77.1%, 69.5%, 0%, 48.6%)
CIE-LABlab(21.70, 29.61, -52.09)
CIE-LCHlch(21.70, 59.92, 299.61°)
OKLaboklab(33.7% 0.0017 -0.1507)
OKLCHoklch(33.7% 0.151 270.7)
XYZxyz(5.3896, 3.4317, 21.8467)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2883 #83791E
analogous
#1E5B83 #1E2883 #471E83
triadic
#1E2883 #831E28 #28831E
tetradic
#1E2883 #831E5B #83791E #1E8347
square
#1E2883 #831E5B #83791E #1E8347
split-complementary
#1E2883 #83471E #5B831E
monochromatic
#070A1F #131951 #1E2883 #2937B5 #4755D5

Accessibility & contrast

On white

12.45
#1E2883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2883
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2883#FFFFFF#000000##FFFFFF
##1E28831.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2883;
/* rgb */ color: rgb(30, 40, 131);
/* oklch */ color: oklch(33.7% 0.151 270.7);
Tailwind
colors: {
  custom: {
    50: '#6b62a8',
    500: '#1e2883',
    950: '#000000',
  },
}
SCSS
$custom: #1e2883;
$custom-light: #6b62a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2883",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 234.059,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33697,
    "c": 0.15072,
    "h": 270.7
  },
  "luminance": 0.03432
}

Semantic roles & 50–950 ramp

primary
#1E2883
secondary
#B6AB47
accent
#D642E6
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1E2883

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

Preview Lab → · Contrast checker → · Palette generator →

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