#1A1264#1A1264

#1A1264 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.4% C 0.135 H 276.3°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#1A1264
RGBrgb(26, 18, 100)
HSLhsl(246, 69%, 23%)
HSVhsv(246, 82%, 39%)
CMYKcmyk(74%, 82%, 0%, 60.8%)
CIE-LABlab(13.06, 31.73, -46.32)
CIE-LCHlch(13.06, 56.15, 304.41°)
OKLaboklab(26.44% 0.0147 -0.1339)
OKLCHoklch(26.44% 0.135 276.3)
XYZxyz(2.9418, 1.5721, 12.2025)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1264 #5C6412
analogous
#123364 #1A1264 #431264
triadic
#1A1264 #641A12 #12641A
tetradic
#1A1264 #641233 #5C6412 #126443
square
#1A1264 #641233 #5C6412 #126443
split-complementary
#1A1264 #644312 #336412
monochromatic
#07051A #0D0930 #1A1264 #271B98 #3525CC

Accessibility & contrast

On white

15.98
#1A1264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1A1264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1264
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1264#FFFFFF#000000##FFFFFF
##1A12641.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002566
Deuteranopia (green-blind)
#001E63
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1a1264;
/* rgb */ color: rgb(26, 18, 100);
/* oklch */ color: oklch(26.4% 0.135 276.3);
Tailwind
colors: {
  custom: {
    50: '#645291',
    500: '#1a1264',
    950: '#000000',
  },
}
SCSS
$custom: #1a1264;
$custom-light: #645291;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1264",
  "rgb": {
    "r": 26,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 245.854,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26441,
    "c": 0.13471,
    "h": 276.3
  },
  "luminance": 0.01572
}

Semantic roles & 50–950 ramp

primary
#1A1264
secondary
#929C36
accent
#EC3BDB
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1A1264

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

Preview Lab → · Contrast checker → · Palette generator →

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