#1A1268#1A1268

#1A1268 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.9% C 0.140 H 275.6°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#1A1268
RGBrgb(26, 18, 104)
HSLhsl(246, 70%, 24%)
HSVhsv(246, 83%, 41%)
CMYKcmyk(75%, 82.7%, 0%, 59.2%)
CIE-LABlab(13.54, 33.11, -48.17)
CIE-LCHlch(13.54, 58.45, 304.50°)
OKLaboklab(26.92% 0.0136 -0.1393)
OKLCHoklch(26.92% 0.14 275.6)
XYZxyz(3.1402, 1.6514, 13.2473)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1268 #606812
analogous
#123568 #1A1268 #451268
triadic
#1A1268 #681A12 #12681A
tetradic
#1A1268 #681235 #606812 #126845
square
#1A1268 #681235 #606812 #126845
split-complementary
#1A1268 #684512 #356812
monochromatic
#07051A #0D0934 #1A1268 #271B9C #3424D0

Accessibility & contrast

On white

15.78
#1A1268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1A1268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1268
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1268#FFFFFF#000000##FFFFFF
##1A12681.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266A
Deuteranopia (green-blind)
#001F67
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1a1268;
/* rgb */ color: rgb(26, 18, 104);
/* oklch */ color: oklch(26.9% 0.140 275.6);
Tailwind
colors: {
  custom: {
    50: '#655294',
    500: '#1a1268',
    950: '#000000',
  },
}
SCSS
$custom: #1a1268;
$custom-light: #655294;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1268",
  "rgb": {
    "r": 26,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 245.581,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.2692,
    "c": 0.13995,
    "h": 275.6
  },
  "luminance": 0.01652
}

Semantic roles & 50–950 ramp

primary
#1A1268
secondary
#96A036
accent
#ED3BDD
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1A1268

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

Preview Lab → · Contrast checker → · Palette generator →

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