#1A1E89#1A1E89

#1A1E89 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.171 H 270.4°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#1A1E89
RGBrgb(26, 30, 137)
HSLhsl(238, 68%, 32%)
HSVhsv(238, 81%, 54%)
CMYKcmyk(81%, 78.1%, 0%, 46.3%)
CIE-LABlab(19.86, 37.71, -58.90)
CIE-LCHlch(19.86, 69.94, 302.63°)
OKLaboklab(32.51% 0.0013 -0.1706)
OKLCHoklch(32.51% 0.171 270.4)
XYZxyz(5.4041, 2.9537, 23.9474)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1E89 #89851A
analogous
#1A5689 #1A1E89 #4E1A89
triadic
#1A1E89 #891A1E #1E891A
tetradic
#1A1E89 #891A56 #89851A #1A894E
square
#1A1E89 #891A56 #89851A #1A894E
split-complementary
#1A1E89 #894E1A #56891A
monochromatic
#060722 #101356 #1A1E89 #2429BC #4248DB

Accessibility & contrast

On white

13.20
#1A1E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1A1E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1E89
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1E89#FFFFFF#000000##FFFFFF
##1A1E891.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#002A87
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a1e89;
/* rgb */ color: rgb(26, 30, 137);
/* oklch */ color: oklch(32.5% 0.171 270.4);
Tailwind
colors: {
  custom: {
    50: '#6d5bad',
    500: '#1a1e89',
    950: '#000000',
  },
}
SCSS
$custom: #1a1e89;
$custom-light: #6d5bad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1e89",
  "rgb": {
    "r": 26,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 237.838,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32512,
    "c": 0.17059,
    "h": 270.4
  },
  "luminance": 0.02954
}

Semantic roles & 50–950 ramp

primary
#1A1E89
secondary
#BCB843
accent
#E53DEB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A1E89

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

Preview Lab → · Contrast checker → · Palette generator →

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