#1A1265#1A1265

#1A1265 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.6% C 0.136 H 276.1°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#1A1265
RGBrgb(26, 18, 101)
HSLhsl(246, 70%, 23%)
HSVhsv(246, 82%, 40%)
CMYKcmyk(74.3%, 82.2%, 0%, 60.4%)
CIE-LABlab(13.18, 32.08, -46.79)
CIE-LCHlch(13.18, 56.73, 304.44°)
OKLaboklab(26.56% 0.0145 -0.1353)
OKLCHoklch(26.56% 0.136 276.1)
XYZxyz(2.9905, 1.5915, 12.4590)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1265 #5D6512
analogous
#123365 #1A1265 #431265
triadic
#1A1265 #651A12 #12651A
tetradic
#1A1265 #651233 #5D6512 #126543
square
#1A1265 #651233 #5D6512 #126543
split-complementary
#1A1265 #654312 #336512
monochromatic
#07051A #0D0931 #1A1265 #271B99 #3525CD

Accessibility & contrast

On white

15.93
#1A1265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1A1265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1265
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1265#FFFFFF#000000##FFFFFF
##1A12651.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002567
Deuteranopia (green-blind)
#001E64
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1a1265;
/* rgb */ color: rgb(26, 18, 101);
/* oklch */ color: oklch(26.6% 0.136 276.1);
Tailwind
colors: {
  custom: {
    50: '#645292',
    500: '#1a1265',
    950: '#000000',
  },
}
SCSS
$custom: #1a1265;
$custom-light: #645292;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1265",
  "rgb": {
    "r": 26,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 245.783,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.2656,
    "c": 0.13603,
    "h": 276.1
  },
  "luminance": 0.01592
}

Semantic roles & 50–950 ramp

primary
#1A1265
secondary
#939D36
accent
#ED3BDB
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1A1265

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

Preview Lab → · Contrast checker → · Palette generator →

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