#1E2283#1E2283

#1E2283 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.158 H 271.9°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#1E2283
RGBrgb(30, 34, 131)
HSLhsl(238, 63%, 32%)
HSVhsv(238, 77%, 51%)
CMYKcmyk(77.1%, 74%, 0%, 48.6%)
CIE-LABlab(20.28, 33.49, -54.43)
CIE-LCHlch(20.28, 63.91, 301.60°)
OKLaboklab(32.67% 0.0051 -0.1575)
OKLCHoklch(32.67% 0.158 271.9)
XYZxyz(5.2028, 3.0582, 21.7844)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2283 #837F1E
analogous
#1E5583 #1E2283 #4D1E83
triadic
#1E2283 #831E22 #22831E
tetradic
#1E2283 #831E55 #837F1E #1E834D
square
#1E2283 #831E55 #837F1E #1E834D
split-complementary
#1E2283 #834D1E #55831E
monochromatic
#07081F #131551 #1E2283 #292FB5 #474CD5

Accessibility & contrast

On white

13.03
#1E2283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1E2283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2283
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2283#FFFFFF#000000##FFFFFF
##1E22831.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e2283;
/* rgb */ color: rgb(30, 34, 131);
/* oklch */ color: oklch(32.7% 0.158 271.9);
Tailwind
colors: {
  custom: {
    50: '#6c5ea8',
    500: '#1e2283',
    950: '#000000',
  },
}
SCSS
$custom: #1e2283;
$custom-light: #6c5ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2283",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 237.624,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32672,
    "c": 0.15761,
    "h": 271.9
  },
  "luminance": 0.03059
}

Semantic roles & 50–950 ramp

primary
#1E2283
secondary
#B6B247
accent
#DF42E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E2283

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

Preview Lab → · Contrast checker → · Palette generator →

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