#1A116F#1A116F

#1A116F is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.150 H 274.6°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#1A116F
RGBrgb(26, 17, 111)
HSLhsl(246, 73%, 25%)
HSVhsv(246, 85%, 44%)
CMYKcmyk(76.6%, 84.7%, 0%, 56.5%)
CIE-LABlab(14.22, 36.01, -51.63)
CIE-LCHlch(14.22, 62.95, 304.89°)
OKLaboklab(27.64% 0.0121 -0.1493)
OKLCHoklch(27.64% 0.15 274.6)
XYZxyz(3.4947, 1.7679, 15.1929)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A116F #666F11
analogous
#11376F #1A116F #49116F
triadic
#1A116F #6F1A11 #116F1A
tetradic
#1A116F #6F1137 #666F11 #116F49
square
#1A116F #6F1137 #666F11 #116F49
split-complementary
#1A116F #6F4911 #376F11
monochromatic
#06041B #0E093A #1A116F #2619A4 #3321D9

Accessibility & contrast

On white

15.51
#1A116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A116F
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A116F#FFFFFF#000000##FFFFFF
##1A116F1.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002872
Deuteranopia (green-blind)
#00206D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1a116f;
/* rgb */ color: rgb(26, 17, 111);
/* oklch */ color: oklch(27.6% 0.150 274.6);
Tailwind
colors: {
  custom: {
    50: '#675299',
    500: '#1a116f',
    950: '#000000',
  },
}
SCSS
$custom: #1a116f;
$custom-light: #675299;
$custom-dark: #000000;
JSON
{
  "hex": "#1a116f",
  "rgb": {
    "r": 26,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 245.745,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27645,
    "c": 0.1498,
    "h": 274.6
  },
  "luminance": 0.01768
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A116F

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

Preview Lab → · Contrast checker → · Palette generator →

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