#1B1BB4#1B1BB4

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

Color values

HEX#1B1BB4
RGBrgb(27, 27, 180)
HSLhsl(240, 74%, 41%)
HSVhsv(240, 85%, 71%)
CMYKcmyk(85%, 85%, 0%, 29.4%)
CIE-LABlab(24.67, 53.24, -77.20)
CIE-LCHlch(24.67, 93.78, 304.59°)
OKLaboklab(37.4% -0.0056 -0.2235)
OKLCHoklch(37.4% 0.224 268.6)
XYZxyz(9.0793, 4.3111, 43.5248)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1BB4 #B4B41B
analogous
#1B67B4 #1B1BB4 #671BB4
triadic
#1B1BB4 #B41B1B #1BB41B
tetradic
#1B1BB4 #B41B67 #B4B41B #1BB467
square
#1B1BB4 #B41B67 #B4B41B #1BB467
split-complementary
#1B1BB4 #B4671B #67B41B
monochromatic
#0B0B4A #13137F #1B1BB4 #2D2DDF #6262E7

Accessibility & contrast

On white

11.28
#1B1BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B1BB4
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1BB4#FFFFFF#000000##FFFFFF
##1B1BB41.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B8
Deuteranopia (green-blind)
#0032B2
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1b1bb4;
/* rgb */ color: rgb(27, 27, 180);
/* oklch */ color: oklch(37.4% 0.224 268.6);
Tailwind
colors: {
  custom: {
    50: '#795dcc',
    500: '#1b1bb4',
    950: '#000000',
  },
}
SCSS
$custom: #1b1bb4;
$custom-light: #795dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1bb4",
  "rgb": {
    "r": 27,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 240,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.374,
    "c": 0.22354,
    "h": 268.6
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

primary
#1B1BB4
secondary
#CCCC5F
accent
#F137F1
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0414
muted
#7C7982

Preview Lab

Preview with #1B1BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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