#1A1983#1A1983

#1A1983 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.168 H 271.4°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#1A1983
RGBrgb(26, 25, 131)
HSLhsl(241, 68%, 31%)
HSVhsv(241, 81%, 51%)
CMYKcmyk(80.2%, 80.9%, 0%, 48.6%)
CIE-LABlab(18.16, 38.47, -57.94)
CIE-LCHlch(18.16, 69.55, 303.58°)
OKLaboklab(31.11% 0.0042 -0.1677)
OKLCHoklch(31.11% 0.168 271.4)
XYZxyz(4.8690, 2.5530, 21.7045)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1983 #828319
analogous
#194D83 #1A1983 #4F1983
triadic
#1A1983 #831A19 #19831A
tetradic
#1A1983 #83194D #828319 #19834F
square
#1A1983 #83194D #828319 #19834F
split-complementary
#1A1983 #834F19 #4D8319
monochromatic
#06051C #100F50 #1A1983 #2423B6 #3E3DDA

Accessibility & contrast

On white

13.90
#1A1983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1A1983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1983
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1983#FFFFFF#000000##FFFFFF
##1A19831.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003286
Deuteranopia (green-blind)
#002781
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a1983;
/* rgb */ color: rgb(26, 25, 131);
/* oklch */ color: oklch(31.1% 0.168 271.4);
Tailwind
colors: {
  custom: {
    50: '#6b58a8',
    500: '#1a1983',
    950: '#000000',
  },
}
SCSS
$custom: #1a1983;
$custom-light: #6b58a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1983",
  "rgb": {
    "r": 26,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 240.566,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31107,
    "c": 0.16779,
    "h": 271.4
  },
  "luminance": 0.02554
}

Semantic roles & 50–950 ramp

primary
#1A1983
secondary
#B6B741
accent
#EB3DE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1A1983

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

Preview Lab → · Contrast checker → · Palette generator →

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