#1B1776#1B1776

#1B1776 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.153 H 273.4°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#1B1776
RGBrgb(27, 23, 118)
HSLhsl(243, 67%, 28%)
HSVhsv(243, 81%, 46%)
CMYKcmyk(77.1%, 80.5%, 0%, 53.7%)
CIE-LABlab(16.27, 35.21, -52.76)
CIE-LCHlch(16.27, 63.43, 303.71°)
OKLaboklab(29.35% 0.0092 -0.1527)
OKLCHoklch(29.35% 0.153 273.4)
XYZxyz(4.0273, 2.1534, 17.3394)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1776 #727617
analogous
#174376 #1B1776 #4A1776
triadic
#1B1776 #761B17 #17761B
tetradic
#1B1776 #761743 #727617 #17764A
square
#1B1776 #761743 #727617 #17764A
split-complementary
#1B1776 #764A17 #437617
monochromatic
#06051A #0F0D43 #1B1776 #2721A9 #3831D7

Accessibility & contrast

On white

14.68
#1B1776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1B1776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1776
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1776#FFFFFF#000000##FFFFFF
##1B17761.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002474
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1b1776;
/* rgb */ color: rgb(27, 23, 118);
/* oklch */ color: oklch(29.3% 0.153 273.4);
Tailwind
colors: {
  custom: {
    50: '#68569f',
    500: '#1b1776',
    950: '#000000',
  },
}
SCSS
$custom: #1b1776;
$custom-light: #68569f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1776",
  "rgb": {
    "r": 27,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 242.526,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29347,
    "c": 0.15294,
    "h": 273.4
  },
  "luminance": 0.02154
}

Semantic roles & 50–950 ramp

primary
#1B1776
secondary
#A7AB3E
accent
#EA3EE3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1B1776

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

Preview Lab → · Contrast checker → · Palette generator →

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