#3B27B2#3B27B2

#3B27B2 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.4% C 0.204 H 278.6°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#3B27B2
RGBrgb(59, 39, 178)
HSLhsl(249, 64%, 43%)
HSVhsv(249, 78%, 70%)
CMYKcmyk(66.9%, 78.1%, 0%, 30.2%)
CIE-LABlab(28.36, 49.16, -69.83)
CIE-LCHlch(28.36, 85.39, 305.15°)
OKLaboklab(40.42% 0.0306 -0.2017)
OKLCHoklch(40.42% 0.204 278.6)
XYZxyz(10.5624, 5.5943, 42.6340)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B27B2 #9EB227
analogous
#2759B2 #3B27B2 #8027B2
triadic
#3B27B2 #B23B27 #27B23B
tetradic
#3B27B2 #B22759 #9EB227 #27B280
square
#3B27B2 #B22759 #9EB227 #27B280
split-complementary
#3B27B2 #B28027 #59B227
monochromatic
#1A114E #2A1C80 #3B27B2 #5641D5 #8373E0

Accessibility & contrast

On white

9.91
#3B27B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3B27B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B27B2
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B27B2#FFFFFF#000000##FFFFFF
##3B27B21.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#003DB0
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3b27b2;
/* rgb */ color: rgb(59, 39, 178);
/* oklch */ color: oklch(40.4% 0.204 278.6);
Tailwind
colors: {
  custom: {
    50: '#8265ca',
    500: '#3b27b2',
    950: '#000000',
  },
}
SCSS
$custom: #3b27b2;
$custom-light: #8265ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3b27b2",
  "rgb": {
    "r": 59,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 248.633,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40422,
    "c": 0.20398,
    "h": 278.6
  },
  "luminance": 0.05595
}

Semantic roles & 50–950 ramp

primary
#3B27B2
secondary
#BBC86D
accent
#E741CF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B27B2

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

Preview Lab → · Contrast checker → · Palette generator →

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