#1A1263#1A1263

#1A1263 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.3% C 0.133 H 276.5°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#1A1263
RGBrgb(26, 18, 99)
HSLhsl(246, 69%, 23%)
HSVhsv(246, 82%, 39%)
CMYKcmyk(73.7%, 81.8%, 0%, 61.2%)
CIE-LABlab(12.94, 31.39, -45.86)
CIE-LCHlch(12.94, 55.57, 304.39°)
OKLaboklab(26.32% 0.015 -0.1325)
OKLCHoklch(26.32% 0.133 276.5)
XYZxyz(2.8937, 1.5528, 11.9492)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1263 #5B6312
analogous
#123263 #1A1263 #421263
triadic
#1A1263 #631A12 #12631A
tetradic
#1A1263 #631232 #5B6312 #126342
square
#1A1263 #631232 #5B6312 #126342
split-complementary
#1A1263 #634212 #326312
monochromatic
#07051A #0C092F #1A1263 #281B97 #3525CB

Accessibility & contrast

On white

16.02
#1A1263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1A1263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1263
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1263#FFFFFF#000000##FFFFFF
##1A12631.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002565
Deuteranopia (green-blind)
#001E62
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1a1263;
/* rgb */ color: rgb(26, 18, 99);
/* oklch */ color: oklch(26.3% 0.133 276.5);
Tailwind
colors: {
  custom: {
    50: '#635290',
    500: '#1a1263',
    950: '#000000',
  },
}
SCSS
$custom: #1a1263;
$custom-light: #635290;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1263",
  "rgb": {
    "r": 26,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 245.926,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26323,
    "c": 0.13339,
    "h": 276.5
  },
  "luminance": 0.01553
}

Semantic roles & 50–950 ramp

primary
#1A1263
secondary
#919B36
accent
#EC3CDB
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1A1263

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

Preview Lab → · Contrast checker → · Palette generator →

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