#3D28AB#3D28AB

#3D28AB is a dark, vivid blue. Relative luminance 0.054; OKLCH L 40.0% C 0.194 H 280.3°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#3D28AB
RGBrgb(61, 40, 171)
HSLhsl(250, 62%, 41%)
HSVhsv(250, 77%, 67%)
CMYKcmyk(64.3%, 76.6%, 0%, 32.9%)
CIE-LABlab(27.98, 46.73, -66.26)
CIE-LCHlch(27.98, 81.08, 305.19°)
OKLaboklab(39.98% 0.0347 -0.1912)
OKLCHoklch(39.98% 0.194 280.3)
XYZxyz(10.0316, 5.4492, 39.0433)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D28AB #96AB28
analogous
#2855AB #3D28AB #7F28AB
triadic
#3D28AB #AB3D28 #28AB3D
tetradic
#3D28AB #AB2855 #96AB28 #28AB7F
square
#3D28AB #AB2855 #96AB28 #28AB7F
split-complementary
#3D28AB #AB7F28 #55AB28
monochromatic
#1A1148 #2B1C79 #3D28AB #563ED2 #8170DE

Accessibility & contrast

On white

10.05
#3D28AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3D28AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D28AB
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D28AB#FFFFFF#000000##FFFFFF
##3D28AB1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d28ab;
/* rgb */ color: rgb(61, 40, 171);
/* oklch */ color: oklch(40.0% 0.194 280.3);
Tailwind
colors: {
  custom: {
    50: '#8165c5',
    500: '#3d28ab',
    950: '#000000',
  },
}
SCSS
$custom: #3d28ab;
$custom-light: #8165c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d28ab",
  "rgb": {
    "r": 61,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 249.618,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39975,
    "c": 0.19437,
    "h": 280.3
  },
  "luminance": 0.0545
}

Semantic roles & 50–950 ramp

primary
#3D28AB
secondary
#B6C46A
accent
#E543CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D28AB

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

Preview Lab → · Contrast checker → · Palette generator →

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