#1E1E7A#1E1E7A

#1E1E7A is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.150 H 273.3°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#1E1E7A
RGBrgb(30, 30, 122)
HSLhsl(240, 61%, 30%)
HSVhsv(240, 75%, 48%)
CMYKcmyk(75.4%, 75.4%, 0%, 52.2%)
CIE-LABlab(18.41, 32.73, -51.80)
CIE-LCHlch(18.41, 61.28, 302.29°)
OKLaboklab(31.05% 0.0088 -0.1498)
OKLCHoklch(31.05% 0.15 273.3)
XYZxyz(4.5114, 2.6093, 18.6745)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1E7A #7A7A1E
analogous
#1E4C7A #1E1E7A #4C1E7A
triadic
#1E1E7A #7A1E1E #1E7A1E
tetradic
#1E1E7A #7A1E4C #7A7A1E #1E7A4C
square
#1E1E7A #7A1E4C #7A7A1E #1E7A4C
split-complementary
#1E1E7A #7A4C1E #4C7A1E
monochromatic
#060619 #121249 #1E1E7A #2A2AAB #4242D0

Accessibility & contrast

On white

13.80
#1E1E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1E1E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1E7A
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1E7A#FFFFFF#000000##FFFFFF
##1E1E7A1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002878
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e1e7a;
/* rgb */ color: rgb(30, 30, 122);
/* oklch */ color: oklch(31.0% 0.150 273.3);
Tailwind
colors: {
  custom: {
    50: '#6a5ba1',
    500: '#1e1e7a',
    950: '#000000',
  },
}
SCSS
$custom: #1e1e7a;
$custom-light: #6a5ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1e7a",
  "rgb": {
    "r": 30,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 240,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31045,
    "c": 0.15011,
    "h": 273.3
  },
  "luminance": 0.0261
}

Semantic roles & 50–950 ramp

primary
#1E1E7A
secondary
#AEAE46
accent
#E444E4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1E1E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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