#3D28C3#3D28C3

#3D28C3 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.5% C 0.222 H 277.3°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#3D28C3
RGBrgb(61, 40, 195)
HSLhsl(248, 66%, 46%)
HSVhsv(248, 79%, 76%)
CMYKcmyk(68.7%, 79.5%, 0%, 23.5%)
CIE-LABlab(30.52, 53.97, -76.33)
CIE-LCHlch(30.52, 93.48, 305.26°)
OKLaboklab(42.5% 0.0283 -0.2206)
OKLCHoklch(42.5% 0.222 277.3)
XYZxyz(12.5304, 6.4487, 52.2036)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D28C3 #AEC328
analogous
#2860C3 #3D28C3 #8A28C3
triadic
#3D28C3 #C33D28 #28C33D
tetradic
#3D28C3 #C32860 #AEC328 #28C38A
square
#3D28C3 #C32860 #AEC328 #28C38A
split-complementary
#3D28C3 #C38A28 #60C328
monochromatic
#1D135D #2D1E90 #3D28C3 #614EDB #8E80E5

Accessibility & contrast

On white

9.17
#3D28C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3D28C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D28C3
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D28C3#FFFFFF#000000##FFFFFF
##3D28C31.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC7
Deuteranopia (green-blind)
#0041C0
Tritanopia (blue-blind)
#005876
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3d28c3;
/* rgb */ color: rgb(61, 40, 195);
/* oklch */ color: oklch(42.5% 0.222 277.3);
Tailwind
colors: {
  custom: {
    50: '#8667d7',
    500: '#3d28c3',
    950: '#000000',
  },
}
SCSS
$custom: #3d28c3;
$custom-light: #8667d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d28c3",
  "rgb": {
    "r": 61,
    "g": 40,
    "b": 195
  },
  "hsl": {
    "h": 248.129,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42501,
    "c": 0.22238,
    "h": 277.3
  },
  "luminance": 0.0645
}

Semantic roles & 50–950 ramp

primary
#3D28C3
secondary
#C2CE79
accent
#E93FD2
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3D28C3

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

Preview Lab → · Contrast checker → · Palette generator →

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