#1A1B83#1A1B83

#1A1B83 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.166 H 271.2°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#1A1B83
RGBrgb(26, 27, 131)
HSLhsl(239, 67%, 31%)
HSVhsv(239, 80%, 51%)
CMYKcmyk(80.2%, 79.4%, 0%, 48.6%)
CIE-LABlab(18.55, 37.35, -57.29)
CIE-LCHlch(18.55, 68.39, 303.10°)
OKLaboklab(31.38% 0.0035 -0.1659)
OKLCHoklch(31.38% 0.166 271.2)
XYZxyz(4.9133, 2.6416, 21.7193)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1B83 #83821A
analogous
#1A4F83 #1A1B83 #4D1A83
triadic
#1A1B83 #831A1B #1B831A
tetradic
#1A1B83 #831A4F #83821A #1A834D
square
#1A1B83 #831A4F #83821A #1A834D
split-complementary
#1A1B83 #834D1A #4F831A
monochromatic
#06061D #101050 #1A1B83 #2426B6 #3F40D9

Accessibility & contrast

On white

13.74
#1A1B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1A1B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1B83
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1B83#FFFFFF#000000##FFFFFF
##1A1B831.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a1b83;
/* rgb */ color: rgb(26, 27, 131);
/* oklch */ color: oklch(31.4% 0.166 271.2);
Tailwind
colors: {
  custom: {
    50: '#6b59a8',
    500: '#1a1b83',
    950: '#000000',
  },
}
SCSS
$custom: #1a1b83;
$custom-light: #6b59a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1b83",
  "rgb": {
    "r": 26,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 239.429,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31382,
    "c": 0.16593,
    "h": 271.2
  },
  "luminance": 0.02642
}

Semantic roles & 50–950 ramp

primary
#1A1B83
secondary
#B7B642
accent
#E83EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A1B83

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

Preview Lab → · Contrast checker → · Palette generator →

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