#1A115A#1A115A

#1A115A is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.1% C 0.122 H 278.5°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#1A115A
RGBrgb(26, 17, 90)
HSLhsl(247, 68%, 21%)
HSVhsv(247, 81%, 35%)
CMYKcmyk(71.1%, 81.1%, 0%, 64.7%)
CIE-LABlab(11.68, 28.82, -41.92)
CIE-LCHlch(11.68, 50.87, 304.51°)
OKLaboklab(25.12% 0.018 -0.1211)
OKLCHoklch(25.12% 0.122 278.5)
XYZxyz(2.4713, 1.3585, 9.8029)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A115A #515A11
analogous
#112C5A #1A115A #3E115A
triadic
#1A115A #5A1A11 #115A1A
tetradic
#1A115A #5A112C #515A11 #115A3E
square
#1A115A #5A112C #515A11 #115A3E
split-complementary
#1A115A #5A3E11 #2C5A11
monochromatic
#07051A #0B0727 #1A115A #291B8D #3824C1

Accessibility & contrast

On white

16.51
#1A115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#1A115A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A115A
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A115A#FFFFFF#000000##FFFFFF
##1A115A1.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225C
Deuteranopia (green-blind)
#001C59
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1a115a;
/* rgb */ color: rgb(26, 17, 90);
/* oklch */ color: oklch(25.1% 0.122 278.5);
Tailwind
colors: {
  custom: {
    50: '#61508a',
    500: '#1a115a',
    950: '#000000',
  },
}
SCSS
$custom: #1a115a;
$custom-light: #61508a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a115a",
  "rgb": {
    "r": 26,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 247.397,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25122,
    "c": 0.12239,
    "h": 278.5
  },
  "luminance": 0.01359
}

Semantic roles & 50–950 ramp

primary
#1A115A
secondary
#879334
accent
#EB3DD6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A115A

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

Preview Lab → · Contrast checker → · Palette generator →

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