#1A1D64#1A1D64

#1A1D64 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.2% C 0.122 H 273.6°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#1A1D64
RGBrgb(26, 29, 100)
HSLhsl(238, 59%, 25%)
HSVhsv(238, 74%, 39%)
CMYKcmyk(74%, 71%, 0%, 60.8%)
CIE-LABlab(15.58, 24.73, -42.17)
CIE-LCHlch(15.58, 48.88, 300.39°)
OKLaboklab(28.24% 0.0076 -0.1218)
OKLCHoklch(28.24% 0.122 273.6)
XYZxyz(3.1648, 2.0181, 12.2769)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1D64 #64611A
analogous
#1A4264 #1A1D64 #3C1A64
triadic
#1A1D64 #641A1D #1D641A
tetradic
#1A1D64 #641A42 #64611A #1A643C
square
#1A1D64 #641A42 #64611A #1A643C
split-complementary
#1A1D64 #643C1A #42641A
monochromatic
#060718 #0D0F33 #1A1D64 #272B95 #3339C5

Accessibility & contrast

On white

14.96
#1A1D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1A1D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1D64
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1D64#FFFFFF#000000##FFFFFF
##1A1D641.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A66
Deuteranopia (green-blind)
#002363
Tritanopia (blue-blind)
#00303D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1a1d64;
/* rgb */ color: rgb(26, 29, 100);
/* oklch */ color: oklch(28.2% 0.122 273.6);
Tailwind
colors: {
  custom: {
    50: '#635991',
    500: '#1a1d64',
    950: '#000000',
  },
}
SCSS
$custom: #1a1d64;
$custom-light: #635991;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1d64",
  "rgb": {
    "r": 26,
    "g": 29,
    "b": 100
  },
  "hsl": {
    "h": 237.568,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28243,
    "c": 0.12207,
    "h": 273.6
  },
  "luminance": 0.02018
}

Semantic roles & 50–950 ramp

primary
#1A1D64
secondary
#9A9640
accent
#DC46E2
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1A1D64

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

Preview Lab → · Contrast checker → · Palette generator →

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