#1A1989#1A1989

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

Color values

HEX#1A1989
RGBrgb(26, 25, 137)
HSLhsl(241, 69%, 32%)
HSVhsv(241, 82%, 54%)
CMYKcmyk(81%, 81.8%, 0%, 46.3%)
CIE-LABlab(18.89, 40.49, -60.51)
CIE-LCHlch(18.89, 72.81, 303.79°)
OKLaboklab(31.83% 0.0029 -0.1752)
OKLCHoklch(31.83% 0.175 270.9)
XYZxyz(5.2875, 2.7204, 23.9085)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1989 #888919
analogous
#195089 #1A1989 #521989
triadic
#1A1989 #891A19 #19891A
tetradic
#1A1989 #891950 #888919 #198952
square
#1A1989 #891950 #888919 #198952
split-complementary
#1A1989 #895219 #508919
monochromatic
#060621 #101055 #1A1989 #2422BD #4240DC

Accessibility & contrast

On white

13.60
#1A1989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A1989
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1989#FFFFFF#000000##FFFFFF
##1A19891.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.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: #1a1989;
/* rgb */ color: rgb(26, 25, 137);
/* oklch */ color: oklch(31.8% 0.175 270.9);
Tailwind
colors: {
  custom: {
    50: '#6d58ad',
    500: '#1a1989',
    950: '#000000',
  },
}
SCSS
$custom: #1a1989;
$custom-light: #6d58ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1989",
  "rgb": {
    "r": 26,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 240.536,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.31831,
    "c": 0.1752,
    "h": 270.9
  },
  "luminance": 0.02721
}

Semantic roles & 50–950 ramp

primary
#1A1989
secondary
#BBBC41
accent
#EC3CEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1A1989

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

Preview Lab → · Contrast checker → · Palette generator →

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