#3D28A8#3D28A8

#3D28A8 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.7% C 0.191 H 280.7°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#3D28A8
RGBrgb(61, 40, 168)
HSLhsl(250, 62%, 41%)
HSVhsv(250, 76%, 66%)
CMYKcmyk(63.7%, 76.2%, 0%, 34.1%)
CIE-LABlab(27.67, 45.81, -64.96)
CIE-LCHlch(27.67, 79.49, 305.19°)
OKLaboklab(39.67% 0.0354 -0.1874)
OKLCHoklch(39.67% 0.191 280.7)
XYZxyz(9.7489, 5.3361, 37.5544)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D28A8 #93A828
analogous
#2853A8 #3D28A8 #7D28A8
triadic
#3D28A8 #A83D28 #28A83D
tetradic
#3D28A8 #A82853 #93A828 #28A87D
square
#3D28A8 #A82853 #93A828 #28A87D
split-complementary
#3D28A8 #A87D28 #53A828
monochromatic
#191045 #2B1C77 #3D28A8 #553DD1 #806EDC

Accessibility & contrast

On white

10.16
#3D28A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3D28A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D28A8
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D28A8#FFFFFF#000000##FFFFFF
##3D28A81.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#003CA6
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3d28a8;
/* rgb */ color: rgb(61, 40, 168);
/* oklch */ color: oklch(39.7% 0.191 280.7);
Tailwind
colors: {
  custom: {
    50: '#8165c3',
    500: '#3d28a8',
    950: '#000000',
  },
}
SCSS
$custom: #3d28a8;
$custom-light: #8165c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d28a8",
  "rgb": {
    "r": 61,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 249.844,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39668,
    "c": 0.19077,
    "h": 280.7
  },
  "luminance": 0.05337
}

Semantic roles & 50–950 ramp

primary
#3D28A8
secondary
#B4C369
accent
#E543CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D28A8

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

Preview Lab → · Contrast checker → · Palette generator →

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