#1A115B#1A115B

#1A115B is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.2% C 0.124 H 278.2°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#1A115B
RGBrgb(26, 17, 91)
HSLhsl(247, 69%, 21%)
HSVhsv(247, 81%, 36%)
CMYKcmyk(71.4%, 81.3%, 0%, 64.3%)
CIE-LABlab(11.79, 29.18, -42.40)
CIE-LCHlch(11.79, 51.47, 304.53°)
OKLaboklab(25.24% 0.0177 -0.1225)
OKLCHoklch(25.24% 0.124 278.2)
XYZxyz(2.5142, 1.3756, 10.0285)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A115B #525B11
analogous
#112D5B #1A115B #3F115B
triadic
#1A115B #5B1A11 #115B1A
tetradic
#1A115B #5B112D #525B11 #115B3F
square
#1A115B #5B112D #525B11 #115B3F
split-complementary
#1A115B #5B3F11 #2D5B11
monochromatic
#07051A #0B0727 #1A115B #291B8F #3724C2

Accessibility & contrast

On white

16.47
#1A115B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A115B
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A115B#FFFFFF#000000##FFFFFF
##1A115B1.0016.471.2816.47
#FFFFFF16.471.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225D
Deuteranopia (green-blind)
#001C5A
Tritanopia (blue-blind)
#002735
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1a115b;
/* rgb */ color: rgb(26, 17, 91);
/* oklch */ color: oklch(25.2% 0.124 278.2);
Tailwind
colors: {
  custom: {
    50: '#62518a',
    500: '#1a115b',
    950: '#000000',
  },
}
SCSS
$custom: #1a115b;
$custom-light: #62518a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a115b",
  "rgb": {
    "r": 26,
    "g": 17,
    "b": 91
  },
  "hsl": {
    "h": 247.297,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25238,
    "c": 0.12374,
    "h": 278.2
  },
  "luminance": 0.01376
}

Semantic roles & 50–950 ramp

primary
#1A115B
secondary
#889434
accent
#EB3CD6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A115B

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

Preview Lab → · Contrast checker → · Palette generator →

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