#1B1D83#1B1D83

#1B1D83 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.164 H 271.4°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#1B1D83
RGBrgb(27, 29, 131)
HSLhsl(239, 66%, 31%)
HSVhsv(239, 79%, 51%)
CMYKcmyk(79.4%, 77.9%, 0%, 48.6%)
CIE-LABlab(19.01, 36.26, -56.52)
CIE-LCHlch(19.01, 67.15, 302.68°)
OKLaboklab(31.73% 0.0039 -0.1636)
OKLCHoklch(31.73% 0.164 271.4)
XYZxyz(4.9867, 2.7499, 21.7363)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1D83 #83811B
analogous
#1B5183 #1B1D83 #4D1B83
triadic
#1B1D83 #831B1D #1D831B
tetradic
#1B1D83 #831B51 #83811B #1B834D
square
#1B1D83 #831B51 #83811B #1B834D
split-complementary
#1B1D83 #834D1B #51831B
monochromatic
#06071E #111250 #1B1D83 #2528B6 #4144D8

Accessibility & contrast

On white

13.55
#1B1D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1B1D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1D83
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1D83#FFFFFF#000000##FFFFFF
##1B1D831.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002981
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1b1d83;
/* rgb */ color: rgb(27, 29, 131);
/* oklch */ color: oklch(31.7% 0.164 271.4);
Tailwind
colors: {
  custom: {
    50: '#6b5aa8',
    500: '#1b1d83',
    950: '#000000',
  },
}
SCSS
$custom: #1b1d83;
$custom-light: #6b5aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1d83",
  "rgb": {
    "r": 27,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 238.846,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31726,
    "c": 0.1637,
    "h": 271.4
  },
  "luminance": 0.0275
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B1D83

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

Preview Lab → · Contrast checker → · Palette generator →

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