#1A1B4E#1A1B4E

#1A1B4E is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.7% C 0.092 H 276.9°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#1A1B4E
RGBrgb(26, 27, 78)
HSLhsl(239, 50%, 20%)
HSVhsv(239, 67%, 31%)
CMYKcmyk(66.7%, 65.4%, 0%, 69.4%)
CIE-LABlab(12.94, 17.58, -31.68)
CIE-LCHlch(12.94, 36.23, 299.02°)
OKLaboklab(25.66% 0.0111 -0.0911)
OKLCHoklch(25.66% 0.092 276.9)
XYZxyz(2.1926, 1.5534, 7.3905)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1B4E #4E4D1A
analogous
#1A354E #1A1B4E #331A4E
triadic
#1A1B4E #4E1A1B #1B4E1A
tetradic
#1A1B4E #4E1A35 #4E4D1A #1A4E33
square
#1A1B4E #4E1A35 #4E4D1A #1A4E33
split-complementary
#1A1B4E #4E331A #354E1A
monochromatic
#080817 #0B0B20 #1A1B4E #292B7C #393BAA

Accessibility & contrast

On white

16.02
#1A1B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1A1B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1B4E
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1B4E#FFFFFF#000000##FFFFFF
##1A1B4E1.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002450
Deuteranopia (green-blind)
#001F4D
Tritanopia (blue-blind)
#002731
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1a1b4e;
/* rgb */ color: rgb(26, 27, 78);
/* oklch */ color: oklch(25.7% 0.092 276.9);
Tailwind
colors: {
  custom: {
    50: '#5d5780',
    500: '#1a1b4e',
    950: '#000000',
  },
}
SCSS
$custom: #1a1b4e;
$custom-light: #5d5780;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1b4e",
  "rgb": {
    "r": 26,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 238.846,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25661,
    "c": 0.09175,
    "h": 276.9
  },
  "luminance": 0.01554
}

Semantic roles & 50–950 ramp

primary
#1A1B4E
secondary
#848340
accent
#D74EDA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #1A1B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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