#1B1A76#1B1A76

#1B1A76 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.150 H 273.0°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#1B1A76
RGBrgb(27, 26, 118)
HSLhsl(241, 64%, 28%)
HSVhsv(241, 78%, 46%)
CMYKcmyk(77.1%, 78%, 0%, 53.7%)
CIE-LABlab(16.89, 33.45, -51.74)
CIE-LCHlch(16.89, 61.61, 302.88°)
OKLaboklab(29.78% 0.0078 -0.1497)
OKLCHoklch(29.78% 0.15 273)
XYZxyz(4.0903, 2.2794, 17.3604)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1A76 #75761A
analogous
#1A4776 #1B1A76 #491A76
triadic
#1B1A76 #761B1A #1A761B
tetradic
#1B1A76 #761A47 #75761A #1A7649
square
#1B1A76 #761A47 #75761A #1A7649
split-complementary
#1B1A76 #76491A #47761A
monochromatic
#060619 #100F44 #1B1A76 #2625A8 #3937D3

Accessibility & contrast

On white

14.42
#1B1A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1B1A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1A76
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1A76#FFFFFF#000000##FFFFFF
##1B1A761.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002574
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1b1a76;
/* rgb */ color: rgb(27, 26, 118);
/* oklch */ color: oklch(29.8% 0.150 273.0);
Tailwind
colors: {
  custom: {
    50: '#68589f',
    500: '#1b1a76',
    950: '#000000',
  },
}
SCSS
$custom: #1b1a76;
$custom-light: #68589f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1a76",
  "rgb": {
    "r": 27,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 240.652,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29782,
    "c": 0.14993,
    "h": 273
  },
  "luminance": 0.0228
}

Semantic roles & 50–950 ramp

primary
#1B1A76
secondary
#A9AB41
accent
#E741E5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1B1A76

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

Preview Lab → · Contrast checker → · Palette generator →

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