#3D27B2#3D27B2

#3D27B2 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.6% C 0.204 H 279.4°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#3D27B2
RGBrgb(61, 39, 178)
HSLhsl(249, 64%, 43%)
HSVhsv(249, 78%, 70%)
CMYKcmyk(65.7%, 78.1%, 0%, 30.2%)
CIE-LABlab(28.53, 49.37, -69.55)
CIE-LCHlch(28.53, 85.29, 305.37°)
OKLaboklab(40.58% 0.0334 -0.2008)
OKLCHoklch(40.58% 0.204 279.4)
XYZxyz(10.6833, 5.6566, 42.6397)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D27B2 #9CB227
analogous
#2757B2 #3D27B2 #8227B2
triadic
#3D27B2 #B23D27 #27B23D
tetradic
#3D27B2 #B22757 #9CB227 #27B282
square
#3D27B2 #B22757 #9CB227 #27B282
split-complementary
#3D27B2 #B28227 #57B227
monochromatic
#1B114E #2C1C80 #3D27B2 #5841D5 #8473E0

Accessibility & contrast

On white

9.85
#3D27B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3D27B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D27B2
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D27B2#FFFFFF#000000##FFFFFF
##3D27B21.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d27b2;
/* rgb */ color: rgb(61, 39, 178);
/* oklch */ color: oklch(40.6% 0.204 279.4);
Tailwind
colors: {
  custom: {
    50: '#8365ca',
    500: '#3d27b2',
    950: '#000000',
  },
}
SCSS
$custom: #3d27b2;
$custom-light: #8365ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d27b2",
  "rgb": {
    "r": 61,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 249.496,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40578,
    "c": 0.20358,
    "h": 279.4
  },
  "luminance": 0.05657
}

Semantic roles & 50–950 ramp

primary
#3D27B2
secondary
#B9C86D
accent
#E741CD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D27B2

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

Preview Lab → · Contrast checker → · Palette generator →

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