#1B1D76#1B1D76

#1B1D76 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.147 H 272.4°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#1B1D76
RGBrgb(27, 29, 118)
HSLhsl(239, 63%, 28%)
HSVhsv(239, 77%, 46%)
CMYKcmyk(77.1%, 75.4%, 0%, 53.7%)
CIE-LABlab(17.55, 31.60, -50.65)
CIE-LCHlch(17.55, 59.70, 301.96°)
OKLaboklab(30.25% 0.0063 -0.1466)
OKLCHoklch(30.25% 0.147 272.4)
XYZxyz(4.1603, 2.4193, 17.3837)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1D76 #76741B
analogous
#1B4A76 #1B1D76 #461B76
triadic
#1B1D76 #761B1D #1D761B
tetradic
#1B1D76 #761B4A #76741B #1B7646
square
#1B1D76 #761B4A #76741B #1B7646
split-complementary
#1B1D76 #76461B #4A761B
monochromatic
#060619 #101144 #1B1D76 #2629A8 #3A3DD2

Accessibility & contrast

On white

14.15
#1B1D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1B1D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1D76
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1D76#FFFFFF#000000##FFFFFF
##1B1D761.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F79
Deuteranopia (green-blind)
#002774
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1b1d76;
/* rgb */ color: rgb(27, 29, 118);
/* oklch */ color: oklch(30.3% 0.147 272.4);
Tailwind
colors: {
  custom: {
    50: '#685a9f',
    500: '#1b1d76',
    950: '#000000',
  },
}
SCSS
$custom: #1b1d76;
$custom-light: #685a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1d76",
  "rgb": {
    "r": 27,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 238.681,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30252,
    "c": 0.14671,
    "h": 272.4
  },
  "luminance": 0.0242
}

Semantic roles & 50–950 ramp

primary
#1B1D76
secondary
#AAA842
accent
#E242E6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #1B1D76

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

Preview Lab → · Contrast checker → · Palette generator →

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