#1A1D7A#1A1D7A

#1A1D7A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.152 H 271.6°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#1A1D7A
RGBrgb(26, 29, 122)
HSLhsl(238, 65%, 29%)
HSVhsv(238, 79%, 48%)
CMYKcmyk(78.7%, 76.2%, 0%, 52.2%)
CIE-LABlab(17.93, 32.96, -52.59)
CIE-LCHlch(17.93, 62.06, 302.08°)
OKLaboklab(30.64% 0.0044 -0.1522)
OKLCHoklch(30.64% 0.152 271.6)
XYZxyz(4.3770, 2.5030, 18.6610)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1D7A #7A771A
analogous
#1A4D7A #1A1D7A #471A7A
triadic
#1A1D7A #7A1A1D #1D7A1A
tetradic
#1A1D7A #7A1A4D #7A771A #1A7A47
square
#1A1D7A #7A1A4D #7A771A #1A7A47
split-complementary
#1A1D7A #7A471A #4D7A1A
monochromatic
#050619 #0F1148 #1A1D7A #2529AC #393ED5

Accessibility & contrast

On white

13.99
#1A1D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1A1D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1D7A
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1D7A#FFFFFF#000000##FFFFFF
##1A1D7A1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002778
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a1d7a;
/* rgb */ color: rgb(26, 29, 122);
/* oklch */ color: oklch(30.6% 0.152 271.6);
Tailwind
colors: {
  custom: {
    50: '#695aa1',
    500: '#1a1d7a',
    950: '#000000',
  },
}
SCSS
$custom: #1a1d7a;
$custom-light: #695aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1d7a",
  "rgb": {
    "r": 26,
    "g": 29,
    "b": 122
  },
  "hsl": {
    "h": 238.125,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3064,
    "c": 0.1523,
    "h": 271.6
  },
  "luminance": 0.02503
}

Semantic roles & 50–950 ramp

primary
#1A1D7A
secondary
#AEAB41
accent
#E340E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A1D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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