#1E1E7C#1E1E7C

#1E1E7C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.153 H 273.2°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#1E1E7C
RGBrgb(30, 30, 124)
HSLhsl(240, 61%, 30%)
HSVhsv(240, 76%, 49%)
CMYKcmyk(75.8%, 75.8%, 0%, 51.4%)
CIE-LABlab(18.62, 33.45, -52.72)
CIE-LCHlch(18.62, 62.43, 302.40°)
OKLaboklab(31.27% 0.0084 -0.1525)
OKLCHoklch(31.27% 0.153 273.2)
XYZxyz(4.6366, 2.6593, 19.3338)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1E7C #7C7C1E
analogous
#1E4D7C #1E1E7C #4D1E7C
triadic
#1E1E7C #7C1E1E #1E7C1E
tetradic
#1E1E7C #7C1E4D #7C7C1E #1E7C4D
square
#1E1E7C #7C1E4D #7C7C1E #1E7C4D
split-complementary
#1E1E7C #7C4D1E #4D7C1E
monochromatic
#060619 #12124B #1E1E7C #2A2AAD #4343D1

Accessibility & contrast

On white

13.71
#1E1E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1E7C
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1E7C#FFFFFF#000000##FFFFFF
##1E1E7C1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#00297A
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e1e7c;
/* rgb */ color: rgb(30, 30, 124);
/* oklch */ color: oklch(31.3% 0.153 273.2);
Tailwind
colors: {
  custom: {
    50: '#6a5ba3',
    500: '#1e1e7c',
    950: '#000000',
  },
}
SCSS
$custom: #1e1e7c;
$custom-light: #6a5ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1e7c",
  "rgb": {
    "r": 30,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 240,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31266,
    "c": 0.15275,
    "h": 273.2
  },
  "luminance": 0.0266
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E1E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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