#1B1CA1#1B1CA1

#1B1CA1 is a dark, highly saturated blue. Relative luminance 0.036; OKLCH L 35.2% C 0.201 H 269.5°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#1B1CA1
RGBrgb(27, 28, 161)
HSLhsl(240, 71%, 37%)
HSVhsv(240, 83%, 63%)
CMYKcmyk(83.2%, 82.6%, 0%, 36.9%)
CIE-LABlab(22.43, 46.87, -69.47)
CIE-LCHlch(22.43, 83.80, 304.01°)
OKLaboklab(35.17% -0.0018 -0.2011)
OKLCHoklch(35.17% 0.201 269.5)
XYZxyz(7.2981, 3.6359, 34.0285)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1CA1 #A1A01B
analogous
#1B5FA1 #1B1CA1 #5D1BA1
triadic
#1B1CA1 #A11B1C #1CA11B
tetradic
#1B1CA1 #A11B5F #A1A01B #1BA15D
square
#1B1CA1 #A11B5F #A1A01B #1BA15D
split-complementary
#1B1CA1 #A15D1B #5FA11B
monochromatic
#090A38 #12136D #1B1CA1 #2425D5 #5455E2

Accessibility & contrast

On white

12.16
#1B1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1B1CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1CA1
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1CA1#FFFFFF#000000##FFFFFF
##1B1CA11.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA5
Deuteranopia (green-blind)
#002E9F
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b1ca1;
/* rgb */ color: rgb(27, 28, 161);
/* oklch */ color: oklch(35.2% 0.201 269.5);
Tailwind
colors: {
  custom: {
    50: '#745cbe',
    500: '#1b1ca1',
    950: '#000000',
  },
}
SCSS
$custom: #1b1ca1;
$custom-light: #745cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1ca1",
  "rgb": {
    "r": 27,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 239.552,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35165,
    "c": 0.20116,
    "h": 269.5
  },
  "luminance": 0.03637
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B1CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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