#1A115D#1A115D

#1A115D is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.5% C 0.126 H 277.8°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#1A115D
RGBrgb(26, 17, 93)
HSLhsl(247, 69%, 22%)
HSVhsv(247, 82%, 36%)
CMYKcmyk(72%, 81.7%, 0%, 63.5%)
CIE-LABlab(12.03, 29.87, -43.36)
CIE-LCHlch(12.03, 52.65, 304.57°)
OKLaboklab(25.47% 0.0172 -0.1253)
OKLCHoklch(25.47% 0.126 277.8)
XYZxyz(2.6016, 1.4106, 10.4890)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A115D #545D11
analogous
#112E5D #1A115D #40115D
triadic
#1A115D #5D1A11 #115D1A
tetradic
#1A115D #5D112E #545D11 #115D40
square
#1A115D #5D112E #545D11 #115D40
split-complementary
#1A115D #5D4011 #2E5D11
monochromatic
#07051A #0C0829 #1A115D #281A91 #3724C4

Accessibility & contrast

On white

16.38
#1A115D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#1A115D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A115D
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A115D#FFFFFF#000000##FFFFFF
##1A115D1.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#001C5C
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1a115d;
/* rgb */ color: rgb(26, 17, 93);
/* oklch */ color: oklch(25.5% 0.126 277.8);
Tailwind
colors: {
  custom: {
    50: '#62518c',
    500: '#1a115d',
    950: '#000000',
  },
}
SCSS
$custom: #1a115d;
$custom-light: #62518c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a115d",
  "rgb": {
    "r": 26,
    "g": 17,
    "b": 93
  },
  "hsl": {
    "h": 247.105,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25472,
    "c": 0.12643,
    "h": 277.8
  },
  "luminance": 0.01411
}

Semantic roles & 50–950 ramp

primary
#1A115D
secondary
#8A9634
accent
#EC3CD7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A115D

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

Preview Lab → · Contrast checker → · Palette generator →

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