#1A1D76#1A1D76

#1A1D76 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.147 H 272.0°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#1A1D76
RGBrgb(26, 29, 118)
HSLhsl(238, 64%, 28%)
HSVhsv(238, 78%, 46%)
CMYKcmyk(78%, 75.4%, 0%, 53.7%)
CIE-LABlab(17.49, 31.50, -50.76)
CIE-LCHlch(17.49, 59.74, 301.82°)
OKLaboklab(30.19% 0.005 -0.1469)
OKLCHoklch(30.19% 0.147 272)
XYZxyz(4.1343, 2.4059, 17.3825)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1D76 #76731A
analogous
#1A4B76 #1A1D76 #451A76
triadic
#1A1D76 #761A1D #1D761A
tetradic
#1A1D76 #761A4B #76731A #1A7645
square
#1A1D76 #761A4B #76731A #1A7645
split-complementary
#1A1D76 #76451A #4B761A
monochromatic
#060619 #0F1144 #1A1D76 #2529A8 #373CD3

Accessibility & contrast

On white

14.18
#1A1D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1A1D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1D76
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1D76#FFFFFF#000000##FFFFFF
##1A1D761.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F79
Deuteranopia (green-blind)
#002674
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a1d76;
/* rgb */ color: rgb(26, 29, 118);
/* oklch */ color: oklch(30.2% 0.147 272.0);
Tailwind
colors: {
  custom: {
    50: '#675a9f',
    500: '#1a1d76',
    950: '#000000',
  },
}
SCSS
$custom: #1a1d76;
$custom-light: #675a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1d76",
  "rgb": {
    "r": 26,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 238.043,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30191,
    "c": 0.147,
    "h": 272
  },
  "luminance": 0.02406
}

Semantic roles & 50–950 ramp

primary
#1A1D76
secondary
#ABA741
accent
#E141E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #1A1D76

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

Preview Lab → · Contrast checker → · Palette generator →

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