#1A1267#1A1267

#1A1267 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.8% C 0.139 H 275.8°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#1A1267
RGBrgb(26, 18, 103)
HSLhsl(246, 70%, 24%)
HSVhsv(246, 83%, 40%)
CMYKcmyk(74.8%, 82.5%, 0%, 59.6%)
CIE-LABlab(13.42, 32.77, -47.71)
CIE-LCHlch(13.42, 57.88, 304.48°)
OKLaboklab(26.8% 0.0139 -0.1379)
OKLCHoklch(26.8% 0.139 275.8)
XYZxyz(3.0897, 1.6312, 12.9814)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1267 #5F6712
analogous
#123467 #1A1267 #441267
triadic
#1A1267 #671A12 #12671A
tetradic
#1A1267 #671234 #5F6712 #126744
square
#1A1267 #671234 #5F6712 #126744
split-complementary
#1A1267 #674412 #346712
monochromatic
#07051A #0D0933 #1A1267 #271B9B #3424CF

Accessibility & contrast

On white

15.83
#1A1267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A1267
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1267#FFFFFF#000000##FFFFFF
##1A12671.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002669
Deuteranopia (green-blind)
#001F66
Tritanopia (blue-blind)
#002C3C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1a1267;
/* rgb */ color: rgb(26, 18, 103);
/* oklch */ color: oklch(26.8% 0.139 275.8);
Tailwind
colors: {
  custom: {
    50: '#655293',
    500: '#1a1267',
    950: '#000000',
  },
}
SCSS
$custom: #1a1267;
$custom-light: #655293;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1267",
  "rgb": {
    "r": 26,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 245.647,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.26799,
    "c": 0.13864,
    "h": 275.8
  },
  "luminance": 0.01631
}

Semantic roles & 50–950 ramp

primary
#1A1267
secondary
#959F36
accent
#ED3BDC
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1A1267

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

Preview Lab → · Contrast checker → · Palette generator →

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