#1A135A#1A135A

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

Color values

HEX#1A135A
RGBrgb(26, 19, 90)
HSLhsl(246, 65%, 21%)
HSVhsv(246, 79%, 35%)
CMYKcmyk(71.1%, 78.9%, 0%, 64.7%)
CIE-LABlab(12.11, 27.60, -41.20)
CIE-LCHlch(12.11, 49.59, 303.82°)
OKLaboklab(25.43% 0.0166 -0.119)
OKLCHoklch(25.43% 0.12 278)
XYZxyz(2.5037, 1.4233, 9.8137)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A135A #535A13
analogous
#13305A #1A135A #3E135A
triadic
#1A135A #5A1A13 #135A1A
tetradic
#1A135A #5A1330 #535A13 #135A3E
square
#1A135A #5A1330 #535A13 #135A3E
split-complementary
#1A135A #5A3E13 #305A13
monochromatic
#070519 #0B0827 #1A135A #291E8D #3728BF

Accessibility & contrast

On white

16.34
#1A135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A135A
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A135A#FFFFFF#000000##FFFFFF
##1A135A1.0016.341.2816.34
#FFFFFF16.341.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235C
Deuteranopia (green-blind)
#001D59
Tritanopia (blue-blind)
#002735
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1a135a;
/* rgb */ color: rgb(26, 19, 90);
/* oklch */ color: oklch(25.4% 0.120 278.0);
Tailwind
colors: {
  custom: {
    50: '#615289',
    500: '#1a135a',
    950: '#000000',
  },
}
SCSS
$custom: #1a135a;
$custom-light: #615289;
$custom-dark: #000000;
JSON
{
  "hex": "#1a135a",
  "rgb": {
    "r": 26,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 245.915,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25429,
    "c": 0.12015,
    "h": 278
  },
  "luminance": 0.01424
}

Semantic roles & 50–950 ramp

primary
#1A135A
secondary
#899237
accent
#E840D8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A135A

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

Preview Lab → · Contrast checker → · Palette generator →

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