#1A1E9D#1A1E9D

#1A1E9D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.195 H 269.3°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#1A1E9D
RGBrgb(26, 30, 157)
HSLhsl(238, 72%, 36%)
HSVhsv(238, 83%, 62%)
CMYKcmyk(83.4%, 80.9%, 0%, 38.4%)
CIE-LABlab(22.24, 44.51, -67.34)
CIE-LCHlch(22.24, 80.72, 303.46°)
OKLaboklab(34.88% -0.0025 -0.195)
OKLCHoklch(34.88% 0.195 269.3)
XYZxyz(6.9740, 3.5817, 32.2155)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1E9D #9D991A
analogous
#1A5F9D #1A1E9D #571A9D
triadic
#1A1E9D #9D1A1E #1E9D1A
tetradic
#1A1E9D #9D1A5F #9D991A #1A9D57
square
#1A1E9D #9D1A5F #9D991A #1A9D57
split-complementary
#1A1E9D #9D571A #5F9D1A
monochromatic
#090A34 #111468 #1A1E9D #2328D2 #4F54E2

Accessibility & contrast

On white

12.23
#1A1E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1A1E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1E9D
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1E9D#FFFFFF#000000##FFFFFF
##1A1E9D1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA1
Deuteranopia (green-blind)
#002E9B
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a1e9d;
/* rgb */ color: rgb(26, 30, 157);
/* oklch */ color: oklch(34.9% 0.195 269.3);
Tailwind
colors: {
  custom: {
    50: '#725dbb',
    500: '#1a1e9d',
    950: '#000000',
  },
}
SCSS
$custom: #1a1e9d;
$custom-light: #725dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1e9d",
  "rgb": {
    "r": 26,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 238.168,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34877,
    "c": 0.19507,
    "h": 269.3
  },
  "luminance": 0.03582
}

Semantic roles & 50–950 ramp

primary
#1A1E9D
secondary
#C4C14E
accent
#E939EE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1A1E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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