#3D30C3#3D30C3

#3D30C3 is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.5% C 0.215 H 276.5°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#3D30C3
RGBrgb(61, 48, 195)
HSLhsl(245, 60%, 48%)
HSVhsv(245, 75%, 76%)
CMYKcmyk(68.7%, 75.4%, 0%, 23.5%)
CIE-LABlab(31.91, 49.97, -74.03)
CIE-LCHlch(31.91, 89.32, 304.02°)
OKLaboklab(43.48% 0.0244 -0.214)
OKLCHoklch(43.48% 0.215 276.5)
XYZxyz(12.8285, 7.0450, 52.3029)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D30C3 #B6C330
analogous
#306DC3 #3D30C3 #8630C3
triadic
#3D30C3 #C33D30 #30C33D
tetradic
#3D30C3 #C3306D #B6C330 #30C386
square
#3D30C3 #C3306D #B6C330 #30C386
split-complementary
#3D30C3 #C38630 #6DC330
monochromatic
#1E1861 #2E2492 #3D30C3 #655AD6 #938BE2

Accessibility & contrast

On white

8.72
#3D30C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3D30C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D30C3
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D30C3#FFFFFF#000000##FFFFFF
##3D30C31.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C7
Deuteranopia (green-blind)
#0045C0
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3d30c3;
/* rgb */ color: rgb(61, 48, 195);
/* oklch */ color: oklch(43.5% 0.215 276.5);
Tailwind
colors: {
  custom: {
    50: '#856bd6',
    500: '#3d30c3',
    950: '#000000',
  },
}
SCSS
$custom: #3d30c3;
$custom-light: #856bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d30c3",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 195
  },
  "hsl": {
    "h": 245.306,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43475,
    "c": 0.21535,
    "h": 276.5
  },
  "luminance": 0.07046
}

Semantic roles & 50–950 ramp

primary
#3D30C3
secondary
#C6CC82
accent
#E444D6
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3D30C3

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

Preview Lab → · Contrast checker → · Palette generator →

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