#1E1E7B#1E1E7B

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

Color values

HEX#1E1E7B
RGBrgb(30, 30, 123)
HSLhsl(240, 61%, 30%)
HSVhsv(240, 76%, 48%)
CMYKcmyk(75.6%, 75.6%, 0%, 51.8%)
CIE-LABlab(18.52, 33.09, -52.26)
CIE-LCHlch(18.52, 61.85, 302.34°)
OKLaboklab(31.16% 0.0086 -0.1512)
OKLCHoklch(31.16% 0.151 273.3)
XYZxyz(4.5736, 2.6342, 19.0025)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1E7B #7B7B1E
analogous
#1E4C7B #1E1E7B #4C1E7B
triadic
#1E1E7B #7B1E1E #1E7B1E
tetradic
#1E1E7B #7B1E4D #7B7B1E #1E7B4D
square
#1E1E7B #7B1E4D #7B7B1E #1E7B4D
split-complementary
#1E1E7B #7B4D1E #4D7B1E
monochromatic
#060619 #12124A #1E1E7B #2A2AAC #4242D1

Accessibility & contrast

On white

13.75
#1E1E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1E1E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1E7B
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1E7B#FFFFFF#000000##FFFFFF
##1E1E7B1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e1e7b;
/* rgb */ color: rgb(30, 30, 123);
/* oklch */ color: oklch(31.2% 0.151 273.3);
Tailwind
colors: {
  custom: {
    50: '#6a5ba2',
    500: '#1e1e7b',
    950: '#000000',
  },
}
SCSS
$custom: #1e1e7b;
$custom-light: #6a5ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1e7b",
  "rgb": {
    "r": 30,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 240,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.31155,
    "c": 0.15142,
    "h": 273.3
  },
  "luminance": 0.02635
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E1E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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