#3B23BB#3B23BB

#3B23BB is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.9% C 0.218 H 277.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#3B23BB
RGBrgb(59, 35, 187)
HSLhsl(249, 68%, 44%)
HSVhsv(249, 81%, 73%)
CMYKcmyk(68.4%, 81.3%, 0%, 26.7%)
CIE-LABlab(28.69, 53.74, -74.64)
CIE-LCHlch(28.69, 91.97, 305.75°)
OKLaboklab(40.94% 0.0299 -0.2156)
OKLCHoklch(40.94% 0.218 277.9)
XYZxyz(11.3714, 5.7187, 47.5086)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B23BB #A3BB23
analogous
#2357BB #3B23BB #8723BB
triadic
#3B23BB #BB3B23 #23BB3B
tetradic
#3B23BB #BB2357 #A3BB23 #23BB87
square
#3B23BB #BB2357 #A3BB23 #23BB87
split-complementary
#3B23BB #BB8723 #57BB23
monochromatic
#1A1054 #2B1987 #3B23BB #5840DB #8574E5

Accessibility & contrast

On white

9.79
#3B23BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3B23BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B23BB
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B23BB#FFFFFF#000000##FFFFFF
##3B23BB1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BF
Deuteranopia (green-blind)
#003DB8
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3b23bb;
/* rgb */ color: rgb(59, 35, 187);
/* oklch */ color: oklch(40.9% 0.218 277.9);
Tailwind
colors: {
  custom: {
    50: '#8463d1',
    500: '#3b23bb',
    950: '#000000',
  },
}
SCSS
$custom: #3b23bb;
$custom-light: #8463d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3b23bb",
  "rgb": {
    "r": 59,
    "g": 35,
    "b": 187
  },
  "hsl": {
    "h": 249.474,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40937,
    "c": 0.21769,
    "h": 277.9
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#3B23BB
secondary
#BDCC6E
accent
#EB3CD0
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #3B23BB

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

Preview Lab → · Contrast checker → · Palette generator →

#3B23BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva