#1A1A93#1A1A93

#1A1A93 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.186 H 270.1°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#1A1A93
RGBrgb(26, 26, 147)
HSLhsl(240, 70%, 34%)
HSVhsv(240, 82%, 58%)
CMYKcmyk(82.3%, 82.3%, 0%, 42.4%)
CIE-LABlab(20.30, 43.28, -64.40)
CIE-LCHlch(20.30, 77.60, 303.91°)
OKLaboklab(33.17% 0.0005 -0.1865)
OKLCHoklch(33.17% 0.186 270.1)
XYZxyz(6.0601, 3.0643, 27.8702)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1A93 #93931A
analogous
#1A5793 #1A1A93 #571A93
triadic
#1A1A93 #931A1A #1A931A
tetradic
#1A1A93 #931A57 #93931A #1A9357
square
#1A1A93 #931A57 #93931A #1A9357
split-complementary
#1A1A93 #93571A #57931A
monochromatic
#08082B #11115F #1A1A93 #2323C7 #4949DF

Accessibility & contrast

On white

13.02
#1A1A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1A1A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1A93
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1A93#FFFFFF#000000##FFFFFF
##1A1A931.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003796
Deuteranopia (green-blind)
#002B91
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a1a93;
/* rgb */ color: rgb(26, 26, 147);
/* oklch */ color: oklch(33.2% 0.186 270.1);
Tailwind
colors: {
  custom: {
    50: '#705ab4',
    500: '#1a1a93',
    950: '#000000',
  },
}
SCSS
$custom: #1a1a93;
$custom-light: #705ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1a93",
  "rgb": {
    "r": 26,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 240,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33171,
    "c": 0.18647,
    "h": 270.1
  },
  "luminance": 0.03065
}

Semantic roles & 50–950 ramp

primary
#1A1A93
secondary
#C0C048
accent
#ED3BED
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1A1A93

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

Preview Lab → · Contrast checker → · Palette generator →

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