#1B1D84#1B1D84

#1B1D84 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.165 H 271.3°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#1B1D84
RGBrgb(27, 29, 132)
HSLhsl(239, 66%, 31%)
HSVhsv(239, 80%, 52%)
CMYKcmyk(79.5%, 78%, 0%, 48.2%)
CIE-LABlab(19.13, 36.61, -56.96)
CIE-LCHlch(19.13, 67.72, 302.73°)
OKLaboklab(31.84% 0.0037 -0.1649)
OKLCHoklch(31.84% 0.165 271.3)
XYZxyz(5.0548, 2.7771, 22.0950)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1D84 #84821B
analogous
#1B5184 #1B1D84 #4D1B84
triadic
#1B1D84 #841B1D #1D841B
tetradic
#1B1D84 #841B51 #84821B #1B844D
square
#1B1D84 #841B51 #84821B #1B844D
split-complementary
#1B1D84 #844D1B #51841B
monochromatic
#06071E #111251 #1B1D84 #2528B7 #4144D8

Accessibility & contrast

On white

13.50
#1B1D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1B1D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1D84
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1D84#FFFFFF#000000##FFFFFF
##1B1D841.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003487
Deuteranopia (green-blind)
#002982
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1b1d84;
/* rgb */ color: rgb(27, 29, 132);
/* oklch */ color: oklch(31.8% 0.165 271.3);
Tailwind
colors: {
  custom: {
    50: '#6c5ba9',
    500: '#1b1d84',
    950: '#000000',
  },
}
SCSS
$custom: #1b1d84;
$custom-light: #6c5ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1d84",
  "rgb": {
    "r": 27,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 238.857,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31842,
    "c": 0.16497,
    "h": 271.3
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#1B1D84
secondary
#B7B543
accent
#E63FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B1D84

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

Preview Lab → · Contrast checker → · Palette generator →

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