#1A1985#1A1985

#1A1985 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.170 H 271.3°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#1A1985
RGBrgb(26, 25, 133)
HSLhsl(241, 68%, 31%)
HSVhsv(241, 81%, 52%)
CMYKcmyk(80.5%, 81.2%, 0%, 47.8%)
CIE-LABlab(18.40, 39.15, -58.80)
CIE-LCHlch(18.40, 70.64, 303.65°)
OKLaboklab(31.35% 0.0038 -0.1702)
OKLCHoklch(31.35% 0.17 271.3)
XYZxyz(5.0058, 2.6078, 22.4253)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1985 #848519
analogous
#194E85 #1A1985 #501985
triadic
#1A1985 #851A19 #19851A
tetradic
#1A1985 #85194E #848519 #198550
square
#1A1985 #85194E #848519 #198550
split-complementary
#1A1985 #855019 #4E8519
monochromatic
#06061E #100F51 #1A1985 #2423B9 #3F3EDB

Accessibility & contrast

On white

13.80
#1A1985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1A1985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1985
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1985#FFFFFF#000000##FFFFFF
##1A19851.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002783
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a1985;
/* rgb */ color: rgb(26, 25, 133);
/* oklch */ color: oklch(31.3% 0.170 271.3);
Tailwind
colors: {
  custom: {
    50: '#6c58aa',
    500: '#1a1985',
    950: '#000000',
  },
}
SCSS
$custom: #1a1985;
$custom-light: #6c58aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1985",
  "rgb": {
    "r": 26,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 240.556,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31348,
    "c": 0.17027,
    "h": 271.3
  },
  "luminance": 0.02608
}

Semantic roles & 50–950 ramp

primary
#1A1985
secondary
#B8B941
accent
#EB3DEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1A1985

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

Preview Lab → · Contrast checker → · Palette generator →

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