#1A115C#1A115C

#1A115C is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.4% C 0.125 H 278.0°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#1A115C
RGBrgb(26, 17, 92)
HSLhsl(247, 69%, 21%)
HSVhsv(247, 82%, 36%)
CMYKcmyk(71.7%, 81.5%, 0%, 63.9%)
CIE-LABlab(11.91, 29.52, -42.88)
CIE-LCHlch(11.91, 52.06, 304.55°)
OKLaboklab(25.36% 0.0175 -0.1239)
OKLCHoklch(25.36% 0.125 278)
XYZxyz(2.5576, 1.3930, 10.2572)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A115C #535C11
analogous
#112E5C #1A115C #40115C
triadic
#1A115C #5C1A11 #115C1A
tetradic
#1A115C #5C112E #535C11 #115C40
square
#1A115C #5C112E #535C11 #115C40
split-complementary
#1A115C #5C4011 #2E5C11
monochromatic
#07051A #0B0728 #1A115C #291B90 #3724C3

Accessibility & contrast

On white

16.42
#1A115C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A115C
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A115C#FFFFFF#000000##FFFFFF
##1A115C1.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225E
Deuteranopia (green-blind)
#001C5B
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1a115c;
/* rgb */ color: rgb(26, 17, 92);
/* oklch */ color: oklch(25.4% 0.125 278.0);
Tailwind
colors: {
  custom: {
    50: '#62518b',
    500: '#1a115c',
    950: '#000000',
  },
}
SCSS
$custom: #1a115c;
$custom-light: #62518b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a115c",
  "rgb": {
    "r": 26,
    "g": 17,
    "b": 92
  },
  "hsl": {
    "h": 247.2,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25355,
    "c": 0.12509,
    "h": 278
  },
  "luminance": 0.01393
}

Semantic roles & 50–950 ramp

primary
#1A115C
secondary
#899534
accent
#EC3CD7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A115C

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

Preview Lab → · Contrast checker → · Palette generator →

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