#1A1276#1A1276

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

Color values

HEX#1A1276
RGBrgb(26, 18, 118)
HSLhsl(245, 74%, 27%)
HSVhsv(245, 85%, 46%)
CMYKcmyk(78%, 84.7%, 0%, 53.7%)
CIE-LABlab(15.27, 37.82, -54.42)
CIE-LCHlch(15.27, 66.27, 304.80°)
OKLaboklab(28.63% 0.0098 -0.1574)
OKLCHoklch(28.63% 0.158 273.6)
XYZxyz(3.9112, 1.9598, 17.3082)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1276 #6E7612
analogous
#123C76 #1A1276 #4C1276
triadic
#1A1276 #761A12 #12761A
tetradic
#1A1276 #76123C #6E7612 #12764C
square
#1A1276 #76123C #6E7612 #12764C
split-complementary
#1A1276 #764C12 #3C7612
monochromatic
#06041B #0E0A41 #1A1276 #261AAB #3425DE

Accessibility & contrast

On white

15.09
#1A1276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1A1276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1276
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1276#FFFFFF#000000##FFFFFF
##1A12761.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B79
Deuteranopia (green-blind)
#002174
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1a1276;
/* rgb */ color: rgb(26, 18, 118);
/* oklch */ color: oklch(28.6% 0.158 273.6);
Tailwind
colors: {
  custom: {
    50: '#69539f',
    500: '#1a1276',
    950: '#000000',
  },
}
SCSS
$custom: #1a1276;
$custom-light: #69539f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1276",
  "rgb": {
    "r": 26,
    "g": 18,
    "b": 118
  },
  "hsl": {
    "h": 244.8,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28633,
    "c": 0.15771,
    "h": 273.6
  },
  "luminance": 0.0196
}

Semantic roles & 50–950 ramp

primary
#1A1276
secondary
#A3AD37
accent
#F038E1
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1A1276

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

Preview Lab → · Contrast checker → · Palette generator →

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