#1B1CA0#1B1CA0

#1B1CA0 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.200 H 269.5°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#1B1CA0
RGBrgb(27, 28, 160)
HSLhsl(240, 71%, 37%)
HSVhsv(240, 83%, 63%)
CMYKcmyk(83.1%, 82.5%, 0%, 37.3%)
CIE-LABlab(22.30, 46.55, -69.06)
CIE-LCHlch(22.30, 83.29, 303.98°)
OKLaboklab(35.04% -0.0016 -0.2)
OKLCHoklch(35.04% 0.2 269.5)
XYZxyz(7.2102, 3.6007, 33.5659)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1CA0 #A09F1B
analogous
#1B5FA0 #1B1CA0 #5D1BA0
triadic
#1B1CA0 #A01B1C #1CA01B
tetradic
#1B1CA0 #A01B5F #A09F1B #1BA05D
square
#1B1CA0 #A01B5F #A09F1B #1BA05D
split-complementary
#1B1CA0 #A05D1B #5FA01B
monochromatic
#090A37 #12136C #1B1CA0 #2425D4 #5354E2

Accessibility & contrast

On white

12.21
#1B1CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1B1CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1CA0
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1CA0#FFFFFF#000000##FFFFFF
##1B1CA01.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA4
Deuteranopia (green-blind)
#002E9E
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b1ca0;
/* rgb */ color: rgb(27, 28, 160);
/* oklch */ color: oklch(35.0% 0.200 269.5);
Tailwind
colors: {
  custom: {
    50: '#735cbe',
    500: '#1b1ca0',
    950: '#000000',
  },
}
SCSS
$custom: #1b1ca0;
$custom-light: #735cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1ca0",
  "rgb": {
    "r": 27,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 239.549,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35043,
    "c": 0.19999,
    "h": 269.5
  },
  "luminance": 0.03602
}

Semantic roles & 50–950 ramp

primary
#1B1CA0
secondary
#C5C452
accent
#ED3AEE
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1B1CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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