#3D28B0#3D28B0

#3D28B0 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.5% C 0.200 H 279.6°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#3D28B0
RGBrgb(61, 40, 176)
HSLhsl(249, 63%, 42%)
HSVhsv(249, 77%, 69%)
CMYKcmyk(65.3%, 77.3%, 0%, 31%)
CIE-LABlab(28.49, 48.26, -68.41)
CIE-LCHlch(28.49, 83.72, 305.20°)
OKLaboklab(40.49% 0.0334 -0.1975)
OKLCHoklch(40.49% 0.2 279.6)
XYZxyz(10.5172, 5.6434, 41.6009)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D28B0 #9BB028
analogous
#2857B0 #3D28B0 #8128B0
triadic
#3D28B0 #B03D28 #28B03D
tetradic
#3D28B0 #B02857 #9BB028 #28B081
square
#3D28B0 #B02857 #9BB028 #28B081
split-complementary
#3D28B0 #B08128 #57B028
monochromatic
#1A114C #2C1D7E #3D28B0 #5841D4 #8473DF

Accessibility & contrast

On white

9.86
#3D28B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3D28B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D28B0
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D28B0#FFFFFF#000000##FFFFFF
##3D28B01.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#003EAE
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3d28b0;
/* rgb */ color: rgb(61, 40, 176);
/* oklch */ color: oklch(40.5% 0.200 279.6);
Tailwind
colors: {
  custom: {
    50: '#8265c9',
    500: '#3d28b0',
    950: '#000000',
  },
}
SCSS
$custom: #3d28b0;
$custom-light: #8265c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d28b0",
  "rgb": {
    "r": 61,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 249.265,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40491,
    "c": 0.20031,
    "h": 279.6
  },
  "luminance": 0.05644
}

Semantic roles & 50–950 ramp

primary
#3D28B0
secondary
#B9C66D
accent
#E642CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D28B0

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

Preview Lab → · Contrast checker → · Palette generator →

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