#1B1883#1B1883

#1B1883 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.168 H 272.0°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#1B1883
RGBrgb(27, 24, 131)
HSLhsl(242, 69%, 30%)
HSVhsv(242, 82%, 51%)
CMYKcmyk(79.4%, 81.7%, 0%, 48.6%)
CIE-LABlab(18.03, 39.09, -58.15)
CIE-LCHlch(18.03, 70.07, 303.91°)
OKLaboklab(31.03% 0.0058 -0.1683)
OKLCHoklch(31.03% 0.168 272)
XYZxyz(4.8740, 2.5244, 21.6987)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1883 #808318
analogous
#184B83 #1B1883 #501883
triadic
#1B1883 #831B18 #18831B
tetradic
#1B1883 #83184B #808318 #188350
square
#1B1883 #83184B #808318 #188350
split-complementary
#1B1883 #835018 #4B8318
monochromatic
#06051C #100F4F #1B1883 #2621B7 #3F3ADB

Accessibility & contrast

On white

13.95
#1B1883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1B1883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1883
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1883#FFFFFF#000000##FFFFFF
##1B18831.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003186
Deuteranopia (green-blind)
#002781
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1b1883;
/* rgb */ color: rgb(27, 24, 131);
/* oklch */ color: oklch(31.0% 0.168 272.0);
Tailwind
colors: {
  custom: {
    50: '#6c57a8',
    500: '#1b1883',
    950: '#000000',
  },
}
SCSS
$custom: #1b1883;
$custom-light: #6c57a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1883",
  "rgb": {
    "r": 27,
    "g": 24,
    "b": 131
  },
  "hsl": {
    "h": 241.682,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31034,
    "c": 0.16841,
    "h": 272
  },
  "luminance": 0.02525
}

Semantic roles & 50–950 ramp

primary
#1B1883
secondary
#B4B740
accent
#EC3CE7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1B1883

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

Preview Lab → · Contrast checker → · Palette generator →

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