#3D28B1#3D28B1

#3D28B1 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.6% C 0.201 H 279.5°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#3D28B1
RGBrgb(61, 40, 177)
HSLhsl(249, 63%, 43%)
HSVhsv(249, 77%, 69%)
CMYKcmyk(65.5%, 77.4%, 0%, 30.6%)
CIE-LABlab(28.60, 48.56, -68.84)
CIE-LCHlch(28.60, 84.24, 305.20°)
OKLaboklab(40.6% 0.0331 -0.1987)
OKLCHoklch(40.6% 0.201 279.5)
XYZxyz(10.6165, 5.6831, 42.1239)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D28B1 #9CB128
analogous
#2858B1 #3D28B1 #8128B1
triadic
#3D28B1 #B13D28 #28B13D
tetradic
#3D28B1 #B12858 #9CB128 #28B181
square
#3D28B1 #B12858 #9CB128 #28B181
split-complementary
#3D28B1 #B18128 #58B128
monochromatic
#1B114D #2C1D7F #3D28B1 #5842D4 #8474E0

Accessibility & contrast

On white

9.83
#3D28B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3D28B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D28B1
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D28B1#FFFFFF#000000##FFFFFF
##3D28B11.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B5
Deuteranopia (green-blind)
#003EAF
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3d28b1;
/* rgb */ color: rgb(61, 40, 177);
/* oklch */ color: oklch(40.6% 0.201 279.5);
Tailwind
colors: {
  custom: {
    50: '#8266ca',
    500: '#3d28b1',
    950: '#000000',
  },
}
SCSS
$custom: #3d28b1;
$custom-light: #8266ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d28b1",
  "rgb": {
    "r": 61,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 249.197,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40595,
    "c": 0.20149,
    "h": 279.5
  },
  "luminance": 0.05684
}

Semantic roles & 50–950 ramp

primary
#3D28B1
secondary
#B9C76E
accent
#E642CD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D28B1

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

Preview Lab → · Contrast checker → · Palette generator →

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