#1A1B85#1A1B85

#1A1B85 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.168 H 271.1°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#1A1B85
RGBrgb(26, 27, 133)
HSLhsl(239, 67%, 31%)
HSVhsv(239, 80%, 52%)
CMYKcmyk(80.5%, 79.7%, 0%, 47.8%)
CIE-LABlab(18.78, 38.04, -58.16)
CIE-LCHlch(18.78, 69.50, 303.18°)
OKLaboklab(31.62% 0.0031 -0.1684)
OKLCHoklch(31.62% 0.168 271.1)
XYZxyz(5.0501, 2.6964, 22.4400)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1B85 #85841A
analogous
#1A5085 #1A1B85 #4E1A85
triadic
#1A1B85 #851A1B #1B851A
tetradic
#1A1B85 #851A50 #85841A #1A854E
square
#1A1B85 #851A50 #85841A #1A854E
split-complementary
#1A1B85 #854E1A #50851A
monochromatic
#06061F #101152 #1A1B85 #2425B8 #4041DA

Accessibility & contrast

On white

13.64
#1A1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1A1B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1B85
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1B85#FFFFFF#000000##FFFFFF
##1A1B851.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002883
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a1b85;
/* rgb */ color: rgb(26, 27, 133);
/* oklch */ color: oklch(31.6% 0.168 271.1);
Tailwind
colors: {
  custom: {
    50: '#6c59aa',
    500: '#1a1b85',
    950: '#000000',
  },
}
SCSS
$custom: #1a1b85;
$custom-light: #6c59aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1b85",
  "rgb": {
    "r": 26,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 239.439,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31618,
    "c": 0.16844,
    "h": 271.1
  },
  "luminance": 0.02697
}

Semantic roles & 50–950 ramp

primary
#1A1B85
secondary
#B8B742
accent
#E93EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A1B85

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

Preview Lab → · Contrast checker → · Palette generator →

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