#1A1699#1A1699

#1A1699 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.5% C 0.197 H 270.0°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#1A1699
RGBrgb(26, 22, 153)
HSLhsl(242, 75%, 34%)
HSVhsv(242, 86%, 60%)
CMYKcmyk(83%, 85.6%, 0%, 40%)
CIE-LABlab(20.41, 47.11, -67.92)
CIE-LCHlch(20.41, 82.66, 304.75°)
OKLaboklab(33.47% -0.0001 -0.1966)
OKLCHoklch(33.47% 0.197 270)
XYZxyz(6.4607, 3.0926, 30.3872)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1699 #959916
analogous
#165499 #1A1699 #5C1699
triadic
#1A1699 #991A16 #16991A
tetradic
#1A1699 #991654 #959916 #16995C
square
#1A1699 #991654 #959916 #16995C
split-complementary
#1A1699 #995C16 #549916
monochromatic
#08072E #110E63 #1A1699 #231ECF #4A45E4

Accessibility & contrast

On white

12.97
#1A1699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1A1699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1699
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1699#FFFFFF#000000##FFFFFF
##1A16991.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00389C
Deuteranopia (green-blind)
#002A97
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a1699;
/* rgb */ color: rgb(26, 22, 153);
/* oklch */ color: oklch(33.5% 0.197 270.0);
Tailwind
colors: {
  custom: {
    50: '#7258b9',
    500: '#1a1699',
    950: '#000000',
  },
}
SCSS
$custom: #1a1699;
$custom-light: #7258b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1699",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 153
  },
  "hsl": {
    "h": 241.832,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.33466,
    "c": 0.19657,
    "h": 270
  },
  "luminance": 0.03093
}

Semantic roles & 50–950 ramp

primary
#1A1699
secondary
#C1C546
accent
#F136EC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1A1699

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

Preview Lab → · Contrast checker → · Palette generator →

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