#3D28BD#3D28BD

#3D28BD is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.9% C 0.215 H 278.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#3D28BD
RGBrgb(61, 40, 189)
HSLhsl(248, 65%, 45%)
HSVhsv(248, 79%, 74%)
CMYKcmyk(67.7%, 78.8%, 0%, 25.9%)
CIE-LABlab(29.87, 52.18, -73.87)
CIE-LCHlch(29.87, 90.44, 305.24°)
OKLaboklab(41.86% 0.0299 -0.2134)
OKLCHoklch(41.86% 0.215 278)
XYZxyz(11.8656, 6.1828, 48.7023)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D28BD #A8BD28
analogous
#285EBD #3D28BD #8728BD
triadic
#3D28BD #BD3D28 #28BD3D
tetradic
#3D28BD #BD285E #A8BD28 #28BD87
square
#3D28BD #BD285E #A8BD28 #28BD87
split-complementary
#3D28BD #BD8728 #5EBD28
monochromatic
#1C1358 #2D1D8A #3D28BD #5E4AD9 #8B7CE3

Accessibility & contrast

On white

9.39
#3D28BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3D28BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D28BD
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D28BD#FFFFFF#000000##FFFFFF
##3D28BD1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC1
Deuteranopia (green-blind)
#0040BA
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3d28bd;
/* rgb */ color: rgb(61, 40, 189);
/* oklch */ color: oklch(41.9% 0.215 278.0);
Tailwind
colors: {
  custom: {
    50: '#8566d2',
    500: '#3d28bd',
    950: '#000000',
  },
}
SCSS
$custom: #3d28bd;
$custom-light: #8566d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d28bd",
  "rgb": {
    "r": 61,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 248.456,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41859,
    "c": 0.21549,
    "h": 278
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#3D28BD
secondary
#BFCB75
accent
#E840D0
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #3D28BD

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

Preview Lab → · Contrast checker → · Palette generator →

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