#3D23D4#3D23D4

#3D23D4 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.9% C 0.245 H 275.9°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#3D23D4
RGBrgb(61, 35, 212)
HSLhsl(249, 72%, 48%)
HSVhsv(249, 83%, 83%)
CMYKcmyk(71.2%, 83.5%, 0%, 16.9%)
CIE-LABlab(31.68, 61.05, -84.32)
CIE-LCHlch(31.68, 104.10, 305.91°)
OKLaboklab(43.86% 0.0253 -0.2437)
OKLCHoklch(43.86% 0.245 275.9)
XYZxyz(14.4053, 6.9462, 62.8562)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D23D4 #BAD423
analogous
#2361D4 #3D23D4 #9623D4
triadic
#3D23D4 #D43D23 #23D43D
tetradic
#3D23D4 #D42361 #BAD423 #23D496
square
#3D23D4 #D42361 #BAD423 #23D496
split-complementary
#3D23D4 #D49623 #61D423
monochromatic
#1F126B #2E1A9F #3D23D4 #6752E2 #9586EB

Accessibility & contrast

On white

8.79
#3D23D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3D23D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D23D4
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D23D4#FFFFFF#000000##FFFFFF
##3D23D41.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052D9
Deuteranopia (green-blind)
#0043D1
Tritanopia (blue-blind)
#005D7F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3d23d4;
/* rgb */ color: rgb(61, 35, 212);
/* oklch */ color: oklch(43.9% 0.245 275.9);
Tailwind
colors: {
  custom: {
    50: '#8a65e3',
    500: '#3d23d4',
    950: '#000000',
  },
}
SCSS
$custom: #3d23d4;
$custom-light: #8a65e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d23d4",
  "rgb": {
    "r": 61,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 248.814,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.43861,
    "c": 0.24497,
    "h": 275.9
  },
  "luminance": 0.06948
}

Semantic roles & 50–950 ramp

primary
#3D23D4
secondary
#C8D47E
accent
#EE39D4
background
#F9F6FE
surface
#F2EBFC
border
#CCC6D5
text
#0E0616
muted
#7E7A84

Preview Lab

Preview with #3D23D4

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

Preview Lab → · Contrast checker → · Palette generator →

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