#1A126A#1A126A

#1A126A is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.2% C 0.143 H 275.3°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#1A126A
RGBrgb(26, 18, 106)
HSLhsl(245, 71%, 24%)
HSVhsv(245, 83%, 42%)
CMYKcmyk(75.5%, 83%, 0%, 58.4%)
CIE-LABlab(13.78, 33.80, -49.08)
CIE-LCHlch(13.78, 59.59, 304.55°)
OKLaboklab(27.16% 0.0131 -0.1419)
OKLCHoklch(27.16% 0.143 275.3)
XYZxyz(3.2430, 1.6925, 13.7887)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A126A #626A12
analogous
#12366A #1A126A #46126A
triadic
#1A126A #6A1A12 #126A1A
tetradic
#1A126A #6A1236 #626A12 #126A46
square
#1A126A #6A1236 #626A12 #126A46
split-complementary
#1A126A #6A4612 #366A12
monochromatic
#06041A #0D0936 #1A126A #271B9E #3424D3

Accessibility & contrast

On white

15.69
#1A126A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1A126A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A126A
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A126A#FFFFFF#000000##FFFFFF
##1A126A1.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276C
Deuteranopia (green-blind)
#001F68
Tritanopia (blue-blind)
#002D3E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1a126a;
/* rgb */ color: rgb(26, 18, 106);
/* oklch */ color: oklch(27.2% 0.143 275.3);
Tailwind
colors: {
  custom: {
    50: '#655296',
    500: '#1a126a',
    950: '#000000',
  },
}
SCSS
$custom: #1a126a;
$custom-light: #655296;
$custom-dark: #000000;
JSON
{
  "hex": "#1a126a",
  "rgb": {
    "r": 26,
    "g": 18,
    "b": 106
  },
  "hsl": {
    "h": 245.455,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27161,
    "c": 0.14253,
    "h": 275.3
  },
  "luminance": 0.01693
}

Semantic roles & 50–950 ramp

primary
#1A126A
secondary
#98A236
accent
#EE3ADD
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1A126A

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

Preview Lab → · Contrast checker → · Palette generator →

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