#3D28C7#3D28C7

#3D28C7 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.9% C 0.227 H 276.9°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#3D28C7
RGBrgb(61, 40, 199)
HSLhsl(248, 67%, 47%)
HSVhsv(248, 80%, 78%)
CMYKcmyk(69.3%, 79.9%, 0%, 22%)
CIE-LABlab(30.95, 55.15, -77.96)
CIE-LCHlch(30.95, 95.49, 305.28°)
OKLaboklab(42.93% 0.0272 -0.2253)
OKLCHoklch(42.93% 0.227 276.9)
XYZxyz(12.9887, 6.6320, 54.6174)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D28C7 #B2C728
analogous
#2862C7 #3D28C7 #8D28C7
triadic
#3D28C7 #C73D28 #28C73D
tetradic
#3D28C7 #C72862 #B2C728 #28C78D
square
#3D28C7 #C72862 #B2C728 #28C78D
split-complementary
#3D28C7 #C78D28 #62C728
monochromatic
#1E1461 #2D1E94 #3D28C7 #6350DC #9083E6

Accessibility & contrast

On white

9.03
#3D28C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3D28C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D28C7
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D28C7#FFFFFF#000000##FFFFFF
##3D28C71.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FCB
Deuteranopia (green-blind)
#0042C4
Tritanopia (blue-blind)
#005978
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3d28c7;
/* rgb */ color: rgb(61, 40, 199);
/* oklch */ color: oklch(42.9% 0.227 276.9);
Tailwind
colors: {
  custom: {
    50: '#8767d9',
    500: '#3d28c7',
    950: '#000000',
  },
}
SCSS
$custom: #3d28c7;
$custom-light: #8767d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d28c7",
  "rgb": {
    "r": 61,
    "g": 40,
    "b": 199
  },
  "hsl": {
    "h": 247.925,
    "s": 66.527,
    "l": 46.863
  },
  "oklch": {
    "l": 0.42932,
    "c": 0.22692,
    "h": 276.9
  },
  "luminance": 0.06633
}

Semantic roles & 50–950 ramp

primary
#3D28C7
secondary
#C4CF7C
accent
#E93ED3
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3D28C7

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

Preview Lab → · Contrast checker → · Palette generator →

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