#1B1BB3#1B1BB3

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

Color values

HEX#1B1BB3
RGBrgb(27, 27, 179)
HSLhsl(240, 74%, 40%)
HSVhsv(240, 85%, 70%)
CMYKcmyk(84.9%, 84.9%, 0%, 29.8%)
CIE-LABlab(24.55, 52.94, -76.82)
CIE-LCHlch(24.55, 93.29, 304.57°)
OKLaboklab(37.28% -0.0054 -0.2224)
OKLCHoklch(37.28% 0.222 268.6)
XYZxyz(8.9778, 4.2705, 42.9902)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1BB3 #B3B31B
analogous
#1B67B3 #1B1BB3 #671BB3
triadic
#1B1BB3 #B31B1B #1BB31B
tetradic
#1B1BB3 #B31B67 #B3B31B #1BB367
square
#1B1BB3 #B31B67 #B3B31B #1BB367
split-complementary
#1B1BB3 #B3671B #67B31B
monochromatic
#0B0B49 #13137E #1B1BB3 #2C2CDF #6161E7

Accessibility & contrast

On white

11.32
#1B1BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1B1BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1BB3
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1BB3#FFFFFF#000000##FFFFFF
##1B1BB31.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b1bb3;
/* rgb */ color: rgb(27, 27, 179);
/* oklch */ color: oklch(37.3% 0.222 268.6);
Tailwind
colors: {
  custom: {
    50: '#785dcb',
    500: '#1b1bb3',
    950: '#000000',
  },
}
SCSS
$custom: #1b1bb3;
$custom-light: #785dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1bb3",
  "rgb": {
    "r": 27,
    "g": 27,
    "b": 179
  },
  "hsl": {
    "h": 240,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.37276,
    "c": 0.22242,
    "h": 268.6
  },
  "luminance": 0.04272
}

Semantic roles & 50–950 ramp

primary
#1B1BB3
secondary
#CCCC5E
accent
#F037F0
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0414
muted
#7C7982

Preview Lab

Preview with #1B1BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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