#1B1679#1B1679

#1B1679 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.158 H 273.2°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#1B1679
RGBrgb(27, 22, 121)
HSLhsl(243, 69%, 28%)
HSVhsv(243, 82%, 47%)
CMYKcmyk(77.7%, 81.8%, 0%, 52.5%)
CIE-LABlab(16.44, 36.79, -54.42)
CIE-LCHlch(16.44, 65.69, 304.06°)
OKLaboklab(29.57% 0.0089 -0.1574)
OKLCHoklch(29.57% 0.158 273.2)
XYZxyz(4.1889, 2.1869, 18.2868)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1679 #747916
analogous
#164279 #1B1679 #4C1679
triadic
#1B1679 #791B16 #16791B
tetradic
#1B1679 #791642 #747916 #16794C
square
#1B1679 #791642 #747916 #16794C
split-complementary
#1B1679 #794C16 #427916
monochromatic
#06051A #0F0D45 #1B1679 #271FAD #3930D9

Accessibility & contrast

On white

14.61
#1B1679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1B1679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1679
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1679#FFFFFF#000000##FFFFFF
##1B16791.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002477
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1b1679;
/* rgb */ color: rgb(27, 22, 121);
/* oklch */ color: oklch(29.6% 0.158 273.2);
Tailwind
colors: {
  custom: {
    50: '#6956a1',
    500: '#1b1679',
    950: '#000000',
  },
}
SCSS
$custom: #1b1679;
$custom-light: #6956a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1679",
  "rgb": {
    "r": 27,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 243.03,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29569,
    "c": 0.1577,
    "h": 273.2
  },
  "luminance": 0.02187
}

Semantic roles & 50–950 ramp

primary
#1B1679
secondary
#A9AE3D
accent
#EC3CE3
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1B1679

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

Preview Lab → · Contrast checker → · Palette generator →

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