#3D2FB8#3D2FB8

#3D2FB8 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.2% C 0.203 H 277.7°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#3D2FB8
RGBrgb(61, 47, 184)
HSLhsl(246, 59%, 45%)
HSVhsv(246, 74%, 72%)
CMYKcmyk(66.8%, 74.5%, 0%, 27.8%)
CIE-LABlab(30.60, 47.06, -69.70)
CIE-LCHlch(30.60, 84.10, 304.03°)
OKLaboklab(42.22% 0.0274 -0.2013)
OKLCHoklch(42.22% 0.203 277.7)
XYZxyz(11.5899, 6.4848, 45.9790)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2FB8 #AAB82F
analogous
#2F66B8 #3D2FB8 #812FB8
triadic
#3D2FB8 #B83D2F #2FB83D
tetradic
#3D2FB8 #B82F66 #AAB82F #2FB881
square
#3D2FB8 #B82F66 #AAB82F #2FB881
split-complementary
#3D2FB8 #B8812F #66B82F
monochromatic
#1D1657 #2D2387 #3D2FB8 #5F52D3 #8C82DF

Accessibility & contrast

On white

9.14
#3D2FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3D2FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2FB8
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2FB8#FFFFFF#000000##FFFFFF
##3D2FB81.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3d2fb8;
/* rgb */ color: rgb(61, 47, 184);
/* oklch */ color: oklch(42.2% 0.203 277.7);
Tailwind
colors: {
  custom: {
    50: '#836acf',
    500: '#3d2fb8',
    950: '#000000',
  },
}
SCSS
$custom: #3d2fb8;
$custom-light: #836acf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2fb8",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 246.131,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4222,
    "c": 0.20317,
    "h": 277.7
  },
  "luminance": 0.06486
}

Semantic roles & 50–950 ramp

primary
#3D2FB8
secondary
#C0C87B
accent
#E245D2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3D2FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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