#1A1163#1A1163

#1A1163 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.2% C 0.134 H 276.6°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#1A1163
RGBrgb(26, 17, 99)
HSLhsl(247, 71%, 23%)
HSVhsv(247, 83%, 39%)
CMYKcmyk(73.7%, 82.8%, 0%, 61.2%)
CIE-LABlab(12.74, 31.95, -46.19)
CIE-LCHlch(12.74, 56.16, 304.68°)
OKLaboklab(26.18% 0.0155 -0.1335)
OKLCHoklch(26.18% 0.134 276.6)
XYZxyz(2.8778, 1.5211, 11.9439)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1163 #5A6311
analogous
#113163 #1A1163 #431163
triadic
#1A1163 #631A11 #11631A
tetradic
#1A1163 #631131 #5A6311 #116343
square
#1A1163 #631131 #5A6311 #116343
split-complementary
#1A1163 #634311 #316311
monochromatic
#07041A #0C082F #1A1163 #281A97 #3523CB

Accessibility & contrast

On white

16.10
#1A1163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A1163
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1163#FFFFFF#000000##FFFFFF
##1A11631.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a1163;
/* rgb */ color: rgb(26, 17, 99);
/* oklch */ color: oklch(26.2% 0.134 276.6);
Tailwind
colors: {
  custom: {
    50: '#645190',
    500: '#1a1163',
    950: '#000000',
  },
}
SCSS
$custom: #1a1163;
$custom-light: #645190;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1163",
  "rgb": {
    "r": 26,
    "g": 17,
    "b": 99
  },
  "hsl": {
    "h": 246.585,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26184,
    "c": 0.13439,
    "h": 276.6
  },
  "luminance": 0.01521
}

Semantic roles & 50–950 ramp

primary
#1A1163
secondary
#909B34
accent
#ED3ADA
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1A1163

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

Preview Lab → · Contrast checker → · Palette generator →

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