#1B1CB3#1B1CB3

#1B1CB3 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.4% C 0.222 H 268.6°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#1B1CB3
RGBrgb(27, 28, 179)
HSLhsl(240, 74%, 40%)
HSVhsv(240, 85%, 70%)
CMYKcmyk(84.9%, 84.4%, 0%, 29.8%)
CIE-LABlab(24.69, 52.50, -76.57)
CIE-LCHlch(24.69, 92.84, 304.44°)
OKLaboklab(37.38% -0.0055 -0.2217)
OKLCHoklch(37.38% 0.222 268.6)
XYZxyz(9.0011, 4.3171, 42.9980)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1CB3 #B3B21B
analogous
#1B68B3 #1B1CB3 #661BB3
triadic
#1B1CB3 #B31B1C #1CB31B
tetradic
#1B1CB3 #B31B68 #B3B21B #1BB366
square
#1B1CB3 #B31B68 #B3B21B #1BB366
split-complementary
#1B1CB3 #B3661B #68B31B
monochromatic
#0B0B49 #13147E #1B1CB3 #2C2DDF #6162E7

Accessibility & contrast

On white

11.27
#1B1CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1B1CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1CB3
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1CB3#FFFFFF#000000##FFFFFF
##1B1CB31.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B7
Deuteranopia (green-blind)
#0032B1
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1b1cb3;
/* rgb */ color: rgb(27, 28, 179);
/* oklch */ color: oklch(37.4% 0.222 268.6);
Tailwind
colors: {
  custom: {
    50: '#785dcb',
    500: '#1b1cb3',
    950: '#000000',
  },
}
SCSS
$custom: #1b1cb3;
$custom-light: #785dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1cb3",
  "rgb": {
    "r": 27,
    "g": 28,
    "b": 179
  },
  "hsl": {
    "h": 239.605,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.37377,
    "c": 0.22175,
    "h": 268.6
  },
  "luminance": 0.04318
}

Semantic roles & 50–950 ramp

primary
#1B1CB3
secondary
#CCCB5E
accent
#EF37F0
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #1B1CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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