#1A116C#1A116C

#1A116C is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.3% C 0.146 H 275.1°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#1A116C
RGBrgb(26, 17, 108)
HSLhsl(246, 73%, 25%)
HSVhsv(246, 84%, 42%)
CMYKcmyk(75.9%, 84.3%, 0%, 57.6%)
CIE-LABlab(13.84, 35.01, -50.30)
CIE-LCHlch(13.84, 61.28, 304.84°)
OKLaboklab(27.28% 0.013 -0.1454)
OKLCHoklch(27.28% 0.146 275.1)
XYZxyz(3.3323, 1.7029, 14.3375)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A116C #636C11
analogous
#11366C #1A116C #48116C
triadic
#1A116C #6C1A11 #116C1A
tetradic
#1A116C #6C1136 #636C11 #116C48
square
#1A116C #6C1136 #636C11 #116C48
split-complementary
#1A116C #6C4811 #366C11
monochromatic
#06041A #0D0937 #1A116C #2719A1 #3322D6

Accessibility & contrast

On white

15.66
#1A116C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1A116C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A116C
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A116C#FFFFFF#000000##FFFFFF
##1A116C1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276F
Deuteranopia (green-blind)
#001F6A
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1a116c;
/* rgb */ color: rgb(26, 17, 108);
/* oklch */ color: oklch(27.3% 0.146 275.1);
Tailwind
colors: {
  custom: {
    50: '#665297',
    500: '#1a116c',
    950: '#000000',
  },
}
SCSS
$custom: #1a116c;
$custom-light: #665297;
$custom-dark: #000000;
JSON
{
  "hex": "#1a116c",
  "rgb": {
    "r": 26,
    "g": 17,
    "b": 108
  },
  "hsl": {
    "h": 245.934,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27275,
    "c": 0.14601,
    "h": 275.1
  },
  "luminance": 0.01703
}

Semantic roles & 50–950 ramp

primary
#1A116C
secondary
#99A435
accent
#EF38DD
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1A116C

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

Preview Lab → · Contrast checker → · Palette generator →

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