#3D27B0#3D27B0

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

Color values

HEX#3D27B0
RGBrgb(61, 39, 176)
HSLhsl(250, 64%, 42%)
HSVhsv(250, 78%, 69%)
CMYKcmyk(65.3%, 77.8%, 0%, 31%)
CIE-LABlab(28.32, 48.76, -68.70)
CIE-LCHlch(28.32, 84.25, 305.37°)
OKLaboklab(40.37% 0.0339 -0.1983)
OKLCHoklch(40.37% 0.201 279.7)
XYZxyz(10.4840, 5.5769, 41.5898)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D27B0 #9AB027
analogous
#2756B0 #3D27B0 #8227B0
triadic
#3D27B0 #B03D27 #27B03D
tetradic
#3D27B0 #B02756 #9AB027 #27B082
square
#3D27B0 #B02756 #9AB027 #27B082
split-complementary
#3D27B0 #B08227 #56B027
monochromatic
#1A114C #2C1C7E #3D27B0 #5840D5 #8372E0

Accessibility & contrast

On white

9.93
#3D27B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D27B0
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D27B0#FFFFFF#000000##FFFFFF
##3D27B01.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3d27b0;
/* rgb */ color: rgb(61, 39, 176);
/* oklch */ color: oklch(40.4% 0.201 279.7);
Tailwind
colors: {
  custom: {
    50: '#8265c9',
    500: '#3d27b0',
    950: '#000000',
  },
}
SCSS
$custom: #3d27b0;
$custom-light: #8265c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d27b0",
  "rgb": {
    "r": 61,
    "g": 39,
    "b": 176
  },
  "hsl": {
    "h": 249.635,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40368,
    "c": 0.20123,
    "h": 279.7
  },
  "luminance": 0.05578
}

Semantic roles & 50–950 ramp

primary
#3D27B0
secondary
#B8C76C
accent
#E741CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D27B0

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

Preview Lab → · Contrast checker → · Palette generator →

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