#1A1D7B#1A1D7B

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

Color values

HEX#1A1D7B
RGBrgb(26, 29, 123)
HSLhsl(238, 65%, 29%)
HSVhsv(238, 79%, 48%)
CMYKcmyk(78.9%, 76.4%, 0%, 51.8%)
CIE-LABlab(18.04, 33.32, -53.04)
CIE-LCHlch(18.04, 62.64, 302.14°)
OKLaboklab(30.75% 0.0042 -0.1536)
OKLCHoklch(30.75% 0.154 271.6)
XYZxyz(4.4393, 2.5279, 18.9890)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1D7B #7B781A
analogous
#1A4E7B #1A1D7B #481A7B
triadic
#1A1D7B #7B1A1D #1D7B1A
tetradic
#1A1D7B #7B1A4E #7B781A #1A7B48
square
#1A1D7B #7B1A4E #7B781A #1A7B48
split-complementary
#1A1D7B #7B481A #4E7B1A
monochromatic
#050619 #0F1148 #1A1D7B #2529AE #3A3FD5

Accessibility & contrast

On white

13.95
#1A1D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1A1D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1D7B
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1D7B#FFFFFF#000000##FFFFFF
##1A1D7B1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a1d7b;
/* rgb */ color: rgb(26, 29, 123);
/* oklch */ color: oklch(30.8% 0.154 271.6);
Tailwind
colors: {
  custom: {
    50: '#695aa2',
    500: '#1a1d7b',
    950: '#000000',
  },
}
SCSS
$custom: #1a1d7b;
$custom-light: #695aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1d7b",
  "rgb": {
    "r": 26,
    "g": 29,
    "b": 123
  },
  "hsl": {
    "h": 238.144,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30754,
    "c": 0.15362,
    "h": 271.6
  },
  "luminance": 0.02528
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A1D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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