#3B27BB#3B27BB

#3B27BB is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.4% C 0.214 H 277.5°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#3B27BB
RGBrgb(59, 39, 187)
HSLhsl(248, 65%, 44%)
HSVhsv(248, 79%, 73%)
CMYKcmyk(68.4%, 79.1%, 0%, 26.7%)
CIE-LABlab(29.33, 51.88, -73.58)
CIE-LCHlch(29.33, 90.03, 305.19°)
OKLaboklab(41.38% 0.0282 -0.2126)
OKLCHoklch(41.38% 0.214 277.5)
XYZxyz(11.4959, 5.9677, 47.5501)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B27BB #A7BB27
analogous
#275DBB #3B27BB #8527BB
triadic
#3B27BB #BB3B27 #27BB3B
tetradic
#3B27BB #BB275D #A7BB27 #27BB85
square
#3B27BB #BB275D #A7BB27 #27BB85
split-complementary
#3B27BB #BB8527 #5DBB27
monochromatic
#1B1256 #2B1C88 #3B27BB #5A47D9 #8879E3

Accessibility & contrast

On white

9.57
#3B27BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3B27BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B27BB
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B27BB#FFFFFF#000000##FFFFFF
##3B27BB1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBF
Deuteranopia (green-blind)
#003FB8
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3b27bb;
/* rgb */ color: rgb(59, 39, 187);
/* oklch */ color: oklch(41.4% 0.214 277.5);
Tailwind
colors: {
  custom: {
    50: '#8465d1',
    500: '#3b27bb',
    950: '#000000',
  },
}
SCSS
$custom: #3b27bb;
$custom-light: #8465d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3b27bb",
  "rgb": {
    "r": 59,
    "g": 39,
    "b": 187
  },
  "hsl": {
    "h": 248.108,
    "s": 65.487,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41381,
    "c": 0.21446,
    "h": 277.5
  },
  "luminance": 0.05969
}

Semantic roles & 50–950 ramp

primary
#3B27BB
secondary
#BFCB73
accent
#E83FD2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3B27BB

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

Preview Lab → · Contrast checker → · Palette generator →

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