#1A139E#1A139E

#1A139E is a dark, highly saturated blue. Relative luminance 0.032; OKLCH L 33.8% C 0.204 H 269.8°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#1A139E
RGBrgb(26, 19, 158)
HSLhsl(243, 79%, 35%)
HSVhsv(243, 88%, 62%)
CMYKcmyk(83.5%, 88%, 0%, 38%)
CIE-LABlab(20.65, 49.89, -70.60)
CIE-LCHlch(20.65, 86.45, 305.25°)
OKLaboklab(33.81% -0.0008 -0.2042)
OKLCHoklch(33.81% 0.204 269.8)
XYZxyz(6.8283, 3.1532, 32.5899)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A139E #979E13
analogous
#13519E #1A139E #60139E
triadic
#1A139E #9E1A13 #139E1A
tetradic
#1A139E #9E1351 #979E13 #139E60
square
#1A139E #9E1351 #979E13 #139E60
split-complementary
#1A139E #9E6013 #519E13
monochromatic
#080631 #110C67 #1A139E #231AD5 #4B43E8

Accessibility & contrast

On white

12.88
#1A139E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1A139E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A139E
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A139E#FFFFFF#000000##FFFFFF
##1A139E1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0038A2
Deuteranopia (green-blind)
#002A9C
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a139e;
/* rgb */ color: rgb(26, 19, 158);
/* oklch */ color: oklch(33.8% 0.204 269.8);
Tailwind
colors: {
  custom: {
    50: '#7357bc',
    500: '#1a139e',
    950: '#000000',
  },
}
SCSS
$custom: #1a139e;
$custom-light: #7357bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1a139e",
  "rgb": {
    "r": 26,
    "g": 19,
    "b": 158
  },
  "hsl": {
    "h": 243.022,
    "s": 78.531,
    "l": 34.706
  },
  "oklch": {
    "l": 0.33814,
    "c": 0.20424,
    "h": 269.8
  },
  "luminance": 0.03154
}

Semantic roles & 50–950 ramp

primary
#1A139E
secondary
#C2C944
accent
#F533EB
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0312
muted
#7C7881

Preview Lab

Preview with #1A139E

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

Preview Lab → · Contrast checker → · Palette generator →

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