#1A1889#1A1889

#1A1889 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.176 H 271.0°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#1A1889
RGBrgb(26, 24, 137)
HSLhsl(241, 70%, 32%)
HSVhsv(241, 82%, 54%)
CMYKcmyk(81%, 82.5%, 0%, 46.3%)
CIE-LABlab(18.71, 41.02, -60.81)
CIE-LCHlch(18.71, 73.35, 304.00°)
OKLaboklab(31.71% 0.0032 -0.176)
OKLCHoklch(31.71% 0.176 271)
XYZxyz(5.2665, 2.6784, 23.9015)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1889 #878918
analogous
#184F89 #1A1889 #531889
triadic
#1A1889 #891A18 #18891A
tetradic
#1A1889 #89184F #878918 #188953
square
#1A1889 #89184F #878918 #188953
split-complementary
#1A1889 #895318 #4F8918
monochromatic
#060621 #100F55 #1A1889 #2421BD #413EDD

Accessibility & contrast

On white

13.67
#1A1889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1A1889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1889
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1889#FFFFFF#000000##FFFFFF
##1A18891.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a1889;
/* rgb */ color: rgb(26, 24, 137);
/* oklch */ color: oklch(31.7% 0.176 271.0);
Tailwind
colors: {
  custom: {
    50: '#6d58ad',
    500: '#1a1889',
    950: '#000000',
  },
}
SCSS
$custom: #1a1889;
$custom-light: #6d58ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1889",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 241.062,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31705,
    "c": 0.17606,
    "h": 271
  },
  "luminance": 0.02679
}

Semantic roles & 50–950 ramp

primary
#1A1889
secondary
#BABD40
accent
#ED3BEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1A1889

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

Preview Lab → · Contrast checker → · Palette generator →

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