#1B1B79#1B1B79

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

Color values

HEX#1B1B79
RGBrgb(27, 27, 121)
HSLhsl(240, 64%, 29%)
HSVhsv(240, 78%, 47%)
CMYKcmyk(77.7%, 77.7%, 0%, 52.5%)
CIE-LABlab(17.45, 33.92, -52.75)
CIE-LCHlch(17.45, 62.71, 302.74°)
OKLaboklab(30.28% 0.0067 -0.1527)
OKLCHoklch(30.28% 0.153 272.5)
XYZxyz(4.2940, 2.3969, 18.3218)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1B79 #79791B
analogous
#1B4A79 #1B1B79 #4A1B79
triadic
#1B1B79 #791B1B #1B791B
tetradic
#1B1B79 #791B4A #79791B #1B794A
square
#1B1B79 #791B4A #79791B #1B794A
split-complementary
#1B1B79 #794A1B #4A791B
monochromatic
#060619 #101047 #1B1B79 #2626AB #3B3BD3

Accessibility & contrast

On white

14.19
#1B1B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B1B79
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1B79#FFFFFF#000000##FFFFFF
##1B1B791.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1b1b79;
/* rgb */ color: rgb(27, 27, 121);
/* oklch */ color: oklch(30.3% 0.153 272.5);
Tailwind
colors: {
  custom: {
    50: '#6959a1',
    500: '#1b1b79',
    950: '#000000',
  },
}
SCSS
$custom: #1b1b79;
$custom-light: #6959a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1b79",
  "rgb": {
    "r": 27,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 240,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30278,
    "c": 0.15282,
    "h": 272.5
  },
  "luminance": 0.02397
}

Semantic roles & 50–950 ramp

primary
#1B1B79
secondary
#ADAD43
accent
#E741E7
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1B1B79

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

Preview Lab → · Contrast checker → · Palette generator →

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