#1A116E#1A116E

#1A116E is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.5% C 0.149 H 274.8°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#1A116E
RGBrgb(26, 17, 110)
HSLhsl(246, 73%, 25%)
HSVhsv(246, 85%, 43%)
CMYKcmyk(76.4%, 84.5%, 0%, 56.9%)
CIE-LABlab(14.09, 35.68, -51.19)
CIE-LCHlch(14.09, 62.39, 304.88°)
OKLaboklab(27.52% 0.0124 -0.148)
OKLCHoklch(27.52% 0.149 274.8)
XYZxyz(3.4400, 1.7460, 14.9045)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A116E #656E11
analogous
#11376E #1A116E #48116E
triadic
#1A116E #6E1A11 #116E1A
tetradic
#1A116E #6E1137 #656E11 #116E48
square
#1A116E #6E1137 #656E11 #116E48
split-complementary
#1A116E #6E4811 #376E11
monochromatic
#06041B #0D0939 #1A116E #2719A3 #3321D8

Accessibility & contrast

On white

15.56
#1A116E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#1A116E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A116E
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A116E#FFFFFF#000000##FFFFFF
##1A116E1.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002871
Deuteranopia (green-blind)
#001F6C
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1a116e;
/* rgb */ color: rgb(26, 17, 110);
/* oklch */ color: oklch(27.5% 0.149 274.8);
Tailwind
colors: {
  custom: {
    50: '#675299',
    500: '#1a116e',
    950: '#000000',
  },
}
SCSS
$custom: #1a116e;
$custom-light: #675299;
$custom-dark: #000000;
JSON
{
  "hex": "#1a116e",
  "rgb": {
    "r": 26,
    "g": 17,
    "b": 110
  },
  "hsl": {
    "h": 245.806,
    "s": 73.228,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27521,
    "c": 0.14854,
    "h": 274.8
  },
  "luminance": 0.01746
}

Semantic roles & 50–950 ramp

primary
#1A116E
secondary
#9BA535
accent
#F038DE
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1A116E

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

Preview Lab → · Contrast checker → · Palette generator →

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