#3D28C2#3D28C2

#3D28C2 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.4% C 0.221 H 277.4°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#3D28C2
RGBrgb(61, 40, 194)
HSLhsl(248, 66%, 46%)
HSVhsv(248, 79%, 76%)
CMYKcmyk(68.6%, 79.4%, 0%, 23.9%)
CIE-LABlab(30.41, 53.67, -75.92)
CIE-LCHlch(30.41, 92.98, 305.26°)
OKLaboklab(42.39% 0.0286 -0.2194)
OKLCHoklch(42.39% 0.221 277.4)
XYZxyz(12.4177, 6.4036, 51.6101)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D28C2 #ADC228
analogous
#2860C2 #3D28C2 #8A28C2
triadic
#3D28C2 #C23D28 #28C23D
tetradic
#3D28C2 #C22860 #ADC228 #28C28A
square
#3D28C2 #C22860 #ADC228 #28C28A
split-complementary
#3D28C2 #C28A28 #60C228
monochromatic
#1D135D #2D1E8F #3D28C2 #604DDA #8D80E5

Accessibility & contrast

On white

9.21
#3D28C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3D28C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D28C2
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D28C2#FFFFFF#000000##FFFFFF
##3D28C21.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC6
Deuteranopia (green-blind)
#0041BF
Tritanopia (blue-blind)
#005775
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3d28c2;
/* rgb */ color: rgb(61, 40, 194);
/* oklch */ color: oklch(42.4% 0.221 277.4);
Tailwind
colors: {
  custom: {
    50: '#8667d6',
    500: '#3d28c2',
    950: '#000000',
  },
}
SCSS
$custom: #3d28c2;
$custom-light: #8667d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d28c2",
  "rgb": {
    "r": 61,
    "g": 40,
    "b": 194
  },
  "hsl": {
    "h": 248.182,
    "s": 65.812,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42393,
    "c": 0.22123,
    "h": 277.4
  },
  "luminance": 0.06405
}

Semantic roles & 50–950 ramp

primary
#3D28C2
secondary
#C2CD78
accent
#E93FD2
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #3D28C2

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

Preview Lab → · Contrast checker → · Palette generator →

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