#1E1985#1E1985

#1E1985 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.169 H 273.0°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#1E1985
RGBrgb(30, 25, 133)
HSLhsl(243, 68%, 31%)
HSVhsv(243, 81%, 52%)
CMYKcmyk(77.4%, 81.2%, 0%, 47.8%)
CIE-LABlab(18.65, 39.44, -58.39)
CIE-LCHlch(18.65, 70.46, 304.04°)
OKLaboklab(31.59% 0.0087 -0.1689)
OKLCHoklch(31.59% 0.169 273)
XYZxyz(5.1153, 2.6642, 22.4304)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1985 #808519
analogous
#194A85 #1E1985 #541985
triadic
#1E1985 #851E19 #19851E
tetradic
#1E1985 #85194A #808519 #198554
square
#1E1985 #85194A #808519 #198554
split-complementary
#1E1985 #855419 #4A8519
monochromatic
#07061E #120F51 #1E1985 #2A23B9 #453EDB

Accessibility & contrast

On white

13.70
#1E1985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1985
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1985#FFFFFF#000000##FFFFFF
##1E19851.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002883
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e1985;
/* rgb */ color: rgb(30, 25, 133);
/* oklch */ color: oklch(31.6% 0.169 273.0);
Tailwind
colors: {
  custom: {
    50: '#6d58aa',
    500: '#1e1985',
    950: '#000000',
  },
}
SCSS
$custom: #1e1985;
$custom-light: #6d58aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1985",
  "rgb": {
    "r": 30,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 242.778,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31586,
    "c": 0.16917,
    "h": 273
  },
  "luminance": 0.02665
}

Semantic roles & 50–950 ramp

primary
#1E1985
secondary
#B3B941
accent
#EB3DE3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1E1985

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

Preview Lab → · Contrast checker → · Palette generator →

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