#1E1850#1E1850

#1E1850 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.6% C 0.098 H 281.8°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#1E1850
RGBrgb(30, 24, 80)
HSLhsl(246, 54%, 20%)
HSVhsv(246, 70%, 31%)
CMYKcmyk(62.5%, 70%, 0%, 68.6%)
CIE-LABlab(12.66, 21.28, -33.50)
CIE-LCHlch(12.66, 39.69, 302.43°)
OKLaboklab(25.6% 0.02 -0.0963)
OKLCHoklch(25.6% 0.098 281.8)
XYZxyz(2.3096, 1.5083, 7.7573)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1850 #4A5018
analogous
#182E50 #1E1850 #3A1850
triadic
#1E1850 #501E18 #18501E
tetradic
#1E1850 #50182E #4A5018 #18503A
square
#1E1850 #50182E #4A5018 #18503A
split-complementary
#1E1850 #503A18 #2E5018
monochromatic
#090718 #0C0A21 #1E1850 #30267F #4134AE

Accessibility & contrast

On white

16.13
#1E1850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1E1850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1850
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1850#FFFFFF#000000##FFFFFF
##1E18501.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002352
Deuteranopia (green-blind)
#001F4F
Tritanopia (blue-blind)
#042631
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1e1850;
/* rgb */ color: rgb(30, 24, 80);
/* oklch */ color: oklch(25.6% 0.098 281.8);
Tailwind
colors: {
  custom: {
    50: '#605582',
    500: '#1e1850',
    950: '#000000',
  },
}
SCSS
$custom: #1e1850;
$custom-light: #605582;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1850",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 80
  },
  "hsl": {
    "h": 246.429,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25601,
    "c": 0.09835,
    "h": 281.8
  },
  "luminance": 0.01508
}

Semantic roles & 50–950 ramp

primary
#1E1850
secondary
#7F873D
accent
#DD4BCE
background
#F5F4F8
surface
#EAE8EF
border
#C6C4CA
text
#05030A
muted
#79787C

Preview Lab

Preview with #1E1850

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

Preview Lab → · Contrast checker → · Palette generator →

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