#1B0FB2#1B0FB2

#1B0FB2 is a dark, highly saturated blue. Relative luminance 0.038; OKLCH L 36.2% C 0.228 H 268.9°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#1B0FB2
RGBrgb(27, 15, 178)
HSLhsl(244, 84%, 38%)
HSVhsv(244, 92%, 70%)
CMYKcmyk(84.8%, 91.6%, 0%, 30.2%)
CIE-LABlab(22.96, 57.03, -78.86)
CIE-LCHlch(22.96, 97.33, 305.87°)
OKLaboklab(36.15% -0.0042 -0.228)
OKLCHoklch(36.15% 0.228 268.9)
XYZxyz(8.6560, 3.7880, 42.3858)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0FB2 #A6B20F
analogous
#0F55B2 #1B0FB2 #6C0FB2
triadic
#1B0FB2 #B21B0F #0FB21B
tetradic
#1B0FB2 #B20F55 #A6B20F #0FB26C
square
#1B0FB2 #B20F55 #A6B20F #0FB26C
split-complementary
#1B0FB2 #B26C0F #55B20F
monochromatic
#0A0541 #120A7A #1B0FB2 #2414EA #584CF0

Accessibility & contrast

On white

11.95
#1B0FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1B0FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0FB2
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0FB2#FFFFFF#000000##FFFFFF
##1B0FB21.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FB6
Deuteranopia (green-blind)
#002EB0
Tritanopia (blue-blind)
#004A68
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1b0fb2;
/* rgb */ color: rgb(27, 15, 178);
/* oklch */ color: oklch(36.2% 0.228 268.9);
Tailwind
colors: {
  custom: {
    50: '#7958cb',
    500: '#1b0fb2',
    950: '#000000',
  },
}
SCSS
$custom: #1b0fb2;
$custom-light: #7958cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0fb2",
  "rgb": {
    "r": 27,
    "g": 15,
    "b": 178
  },
  "hsl": {
    "h": 244.417,
    "s": 84.456,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36154,
    "c": 0.22804,
    "h": 268.9
  },
  "luminance": 0.03789
}

Semantic roles & 50–950 ramp

primary
#1B0FB2
secondary
#C7D14C
accent
#FB2DEC
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0414
muted
#7C7982

Preview Lab

Preview with #1B0FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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