#3D28BA#3D28BA

#3D28BA is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.5% C 0.212 H 278.3°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#3D28BA
RGBrgb(61, 40, 186)
HSLhsl(249, 65%, 44%)
HSVhsv(249, 78%, 73%)
CMYKcmyk(67.2%, 78.5%, 0%, 27.1%)
CIE-LABlab(29.55, 51.28, -72.62)
CIE-LCHlch(29.55, 88.91, 305.23°)
OKLaboklab(41.54% 0.0307 -0.2098)
OKLCHoklch(41.54% 0.212 278.3)
XYZxyz(11.5433, 6.0539, 47.0050)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D28BA #A5BA28
analogous
#285CBA #3D28BA #8628BA
triadic
#3D28BA #BA3D28 #28BA3D
tetradic
#3D28BA #BA285C #A5BA28 #28BA86
square
#3D28BA #BA285C #A5BA28 #28BA86
split-complementary
#3D28BA #BA8628 #5CBA28
monochromatic
#1C1255 #2C1D88 #3D28BA #5C48D8 #897AE2

Accessibility & contrast

On white

9.50
#3D28BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3D28BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D28BA
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D28BA#FFFFFF#000000##FFFFFF
##3D28BA1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBE
Deuteranopia (green-blind)
#0040B7
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3d28ba;
/* rgb */ color: rgb(61, 40, 186);
/* oklch */ color: oklch(41.5% 0.212 278.3);
Tailwind
colors: {
  custom: {
    50: '#8466d0',
    500: '#3d28ba',
    950: '#000000',
  },
}
SCSS
$custom: #3d28ba;
$custom-light: #8466d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d28ba",
  "rgb": {
    "r": 61,
    "g": 40,
    "b": 186
  },
  "hsl": {
    "h": 248.63,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4154,
    "c": 0.21202,
    "h": 278.3
  },
  "luminance": 0.06055
}

Semantic roles & 50–950 ramp

primary
#3D28BA
secondary
#BECA73
accent
#E840D0
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3D28BA

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

Preview Lab → · Contrast checker → · Palette generator →

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