#1E1889#1E1889

#1E1889 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.175 H 272.7°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#1E1889
RGBrgb(30, 24, 137)
HSLhsl(243, 70%, 32%)
HSVhsv(243, 82%, 54%)
CMYKcmyk(78.1%, 82.5%, 0%, 46.3%)
CIE-LABlab(18.95, 41.29, -60.40)
CIE-LCHlch(18.95, 73.16, 304.35°)
OKLaboklab(31.94% 0.0081 -0.1748)
OKLCHoklch(31.94% 0.175 272.7)
XYZxyz(5.3759, 2.7349, 23.9066)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1889 #838918
analogous
#184B89 #1E1889 #571889
triadic
#1E1889 #891E18 #18891E
tetradic
#1E1889 #89184B #838918 #188957
square
#1E1889 #89184B #838918 #188957
split-complementary
#1E1889 #895718 #4B8918
monochromatic
#070621 #130F55 #1E1889 #2921BD #473EDD

Accessibility & contrast

On white

13.57
#1E1889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1E1889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1889
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1889#FFFFFF#000000##FFFFFF
##1E18891.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002887
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e1889;
/* rgb */ color: rgb(30, 24, 137);
/* oklch */ color: oklch(31.9% 0.175 272.7);
Tailwind
colors: {
  custom: {
    50: '#6e58ad',
    500: '#1e1889',
    950: '#000000',
  },
}
SCSS
$custom: #1e1889;
$custom-light: #6e58ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1889",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 243.186,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31938,
    "c": 0.17496,
    "h": 272.7
  },
  "luminance": 0.02735
}

Semantic roles & 50–950 ramp

primary
#1E1889
secondary
#B6BD40
accent
#ED3BE4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #1E1889

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

Preview Lab → · Contrast checker → · Palette generator →

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