#1A129F#1A129F

#1A129F is a dark, highly saturated blue. Relative luminance 0.032; OKLCH L 33.9% C 0.206 H 269.7°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#1A129F
RGBrgb(26, 18, 159)
HSLhsl(243, 80%, 35%)
HSVhsv(243, 89%, 62%)
CMYKcmyk(83.6%, 88.7%, 0%, 37.6%)
CIE-LABlab(20.65, 50.58, -71.20)
CIE-LCHlch(20.65, 87.34, 305.39°)
OKLaboklab(33.86% -0.001 -0.2059)
OKLCHoklch(33.86% 0.206 269.7)
XYZxyz(6.8982, 3.1546, 33.0395)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A129F #979F12
analogous
#12519F #1A129F #60129F
triadic
#1A129F #9F1A12 #129F1A
tetradic
#1A129F #9F1251 #979F12 #129F60
square
#1A129F #9F1251 #979F12 #129F60
split-complementary
#1A129F #9F6012 #519F12
monochromatic
#080631 #110C68 #1A129F #2318D6 #4B42EA

Accessibility & contrast

On white

12.88
#1A129F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1A129F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A129F
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A129F#FFFFFF#000000##FFFFFF
##1A129F1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0039A3
Deuteranopia (green-blind)
#002A9D
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a129f;
/* rgb */ color: rgb(26, 18, 159);
/* oklch */ color: oklch(33.9% 0.206 269.7);
Tailwind
colors: {
  custom: {
    50: '#7457bd',
    500: '#1a129f',
    950: '#000000',
  },
}
SCSS
$custom: #1a129f;
$custom-light: #7457bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1a129f",
  "rgb": {
    "r": 26,
    "g": 18,
    "b": 159
  },
  "hsl": {
    "h": 243.404,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.33855,
    "c": 0.20595,
    "h": 269.7
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

primary
#1A129F
secondary
#C2CA43
accent
#F632EB
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0312
muted
#7C7881

Preview Lab

Preview with #1A129F

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

Preview Lab → · Contrast checker → · Palette generator →

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