#1A1B60#1A1B60

#1A1B60 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.5% C 0.119 H 274.6°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#1A1B60
RGBrgb(26, 27, 96)
HSLhsl(239, 57%, 24%)
HSVhsv(239, 73%, 38%)
CMYKcmyk(72.9%, 71.9%, 0%, 62.4%)
CIE-LABlab(14.67, 24.57, -41.02)
CIE-LCHlch(14.67, 47.81, 300.92°)
OKLaboklab(27.46% 0.0096 -0.1185)
OKLCHoklch(27.46% 0.119 274.6)
XYZxyz(2.9286, 1.8477, 11.2664)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1B60 #605F1A
analogous
#1A3E60 #1A1B60 #3C1A60
triadic
#1A1B60 #601A1B #1B601A
tetradic
#1A1B60 #601A3E #605F1A #1A603C
square
#1A1B60 #601A3E #605F1A #1A603C
split-complementary
#1A1B60 #603C1A #3E601A
monochromatic
#070718 #0D0D30 #1A1B60 #272990 #3436C0

Accessibility & contrast

On white

15.33
#1A1B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1A1B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1B60
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1B60#FFFFFF#000000##FFFFFF
##1A1B601.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#00225F
Tritanopia (blue-blind)
#002D3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1a1b60;
/* rgb */ color: rgb(26, 27, 96);
/* oklch */ color: oklch(27.5% 0.119 274.6);
Tailwind
colors: {
  custom: {
    50: '#62578e',
    500: '#1a1b60',
    950: '#000000',
  },
}
SCSS
$custom: #1a1b60;
$custom-light: #62578e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1b60",
  "rgb": {
    "r": 26,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 239.143,
    "s": 57.377,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27455,
    "c": 0.11886,
    "h": 274.6
  },
  "luminance": 0.01848
}

Semantic roles & 50–950 ramp

primary
#1A1B60
secondary
#969540
accent
#DE47E1
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1A1B60

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

Preview Lab → · Contrast checker → · Palette generator →

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