#1A1D79#1A1D79

#1A1D79 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.151 H 271.7°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#1A1D79
RGBrgb(26, 29, 121)
HSLhsl(238, 65%, 29%)
HSVhsv(238, 79%, 47%)
CMYKcmyk(78.5%, 76%, 0%, 52.5%)
CIE-LABlab(17.82, 32.60, -52.13)
CIE-LCHlch(17.82, 61.48, 302.01°)
OKLaboklab(30.53% 0.0045 -0.1509)
OKLCHoklch(30.53% 0.151 271.7)
XYZxyz(4.3154, 2.4784, 18.3364)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1D79 #79761A
analogous
#1A4D79 #1A1D79 #471A79
triadic
#1A1D79 #791A1D #1D791A
tetradic
#1A1D79 #791A4D #79761A #1A7947
square
#1A1D79 #791A4D #79761A #1A7947
split-complementary
#1A1D79 #79471A #4D791A
monochromatic
#050619 #0F1147 #1A1D79 #2529AB #393ED4

Accessibility & contrast

On white

14.04
#1A1D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A1D79
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1D79#FFFFFF#000000##FFFFFF
##1A1D791.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307C
Deuteranopia (green-blind)
#002777
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a1d79;
/* rgb */ color: rgb(26, 29, 121);
/* oklch */ color: oklch(30.5% 0.151 271.7);
Tailwind
colors: {
  custom: {
    50: '#685aa1',
    500: '#1a1d79',
    950: '#000000',
  },
}
SCSS
$custom: #1a1d79;
$custom-light: #685aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1d79",
  "rgb": {
    "r": 26,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 238.105,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30527,
    "c": 0.15098,
    "h": 271.7
  },
  "luminance": 0.02479
}

Semantic roles & 50–950 ramp

primary
#1A1D79
secondary
#ADAA41
accent
#E240E8
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A1D79

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

Preview Lab → · Contrast checker → · Palette generator →

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