#1B1885#1B1885

#1B1885 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.171 H 271.8°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#1B1885
RGBrgb(27, 24, 133)
HSLhsl(242, 69%, 31%)
HSVhsv(242, 82%, 52%)
CMYKcmyk(79.7%, 82%, 0%, 47.8%)
CIE-LABlab(18.27, 39.75, -59.01)
CIE-LCHlch(18.27, 71.15, 303.97°)
OKLaboklab(31.28% 0.0053 -0.1708)
OKLCHoklch(31.28% 0.171 271.8)
XYZxyz(5.0108, 2.5792, 22.4195)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1885 #828518
analogous
#184B85 #1B1885 #511885
triadic
#1B1885 #851B18 #18851B
tetradic
#1B1885 #85184B #828518 #188551
square
#1B1885 #85184B #828518 #188551
split-complementary
#1B1885 #855118 #4B8518
monochromatic
#06051D #100F51 #1B1885 #2621B9 #403CDC

Accessibility & contrast

On white

13.85
#1B1885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1B1885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1885
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1885#FFFFFF#000000##FFFFFF
##1B18851.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002783
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1b1885;
/* rgb */ color: rgb(27, 24, 133);
/* oklch */ color: oklch(31.3% 0.171 271.8);
Tailwind
colors: {
  custom: {
    50: '#6c58aa',
    500: '#1b1885',
    950: '#000000',
  },
}
SCSS
$custom: #1b1885;
$custom-light: #6c58aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1885",
  "rgb": {
    "r": 27,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 241.651,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31275,
    "c": 0.17088,
    "h": 271.8
  },
  "luminance": 0.0258
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B1885

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

Preview Lab → · Contrast checker → · Palette generator →

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