#1A1261#1A1261

#1A1261 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.1% C 0.131 H 276.8°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#1A1261
RGBrgb(26, 18, 97)
HSLhsl(246, 69%, 23%)
HSVhsv(246, 81%, 38%)
CMYKcmyk(73.2%, 81.4%, 0%, 62%)
CIE-LABlab(12.70, 30.69, -44.92)
CIE-LCHlch(12.70, 54.40, 304.34°)
OKLaboklab(26.09% 0.0155 -0.1298)
OKLCHoklch(26.09% 0.131 276.8)
XYZxyz(2.7993, 1.5150, 11.4519)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1261 #596112
analogous
#123161 #1A1261 #421261
triadic
#1A1261 #611A12 #12611A
tetradic
#1A1261 #611231 #596112 #126142
square
#1A1261 #611231 #596112 #126142
split-complementary
#1A1261 #614212 #316112
monochromatic
#07051A #0C082D #1A1261 #281C95 #3625C8

Accessibility & contrast

On white

16.12
#1A1261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1A1261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1261
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1261#FFFFFF#000000##FFFFFF
##1A12611.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002463
Deuteranopia (green-blind)
#001D60
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1a1261;
/* rgb */ color: rgb(26, 18, 97);
/* oklch */ color: oklch(26.1% 0.131 276.8);
Tailwind
colors: {
  custom: {
    50: '#63528f',
    500: '#1a1261',
    950: '#000000',
  },
}
SCSS
$custom: #1a1261;
$custom-light: #63528f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1261",
  "rgb": {
    "r": 26,
    "g": 18,
    "b": 97
  },
  "hsl": {
    "h": 246.076,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26086,
    "c": 0.13073,
    "h": 276.8
  },
  "luminance": 0.01515
}

Semantic roles & 50–950 ramp

primary
#1A1261
secondary
#8F9936
accent
#EC3CDA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A1261

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

Preview Lab → · Contrast checker → · Palette generator →

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