#3D30C4#3D30C4

#3D30C4 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.6% C 0.217 H 276.4°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#3D30C4
RGBrgb(61, 48, 196)
HSLhsl(245, 61%, 48%)
HSVhsv(245, 76%, 77%)
CMYKcmyk(68.9%, 75.5%, 0%, 23.1%)
CIE-LABlab(32.01, 50.28, -74.45)
CIE-LCHlch(32.01, 89.84, 304.04°)
OKLaboklab(43.58% 0.0242 -0.2152)
OKLCHoklch(43.58% 0.217 276.4)
XYZxyz(12.9420, 7.0903, 52.9004)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D30C4 #B7C430
analogous
#306DC4 #3D30C4 #8730C4
triadic
#3D30C4 #C43D30 #30C43D
tetradic
#3D30C4 #C4306D #B7C430 #30C487
square
#3D30C4 #C4306D #B7C430 #30C487
split-complementary
#3D30C4 #C48730 #6DC430
monochromatic
#1E1862 #2E2493 #3D30C4 #655AD7 #938CE3

Accessibility & contrast

On white

8.68
#3D30C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3D30C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D30C4
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D30C4#FFFFFF#000000##FFFFFF
##3D30C41.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C8
Deuteranopia (green-blind)
#0045C1
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3d30c4;
/* rgb */ color: rgb(61, 48, 196);
/* oklch */ color: oklch(43.6% 0.217 276.4);
Tailwind
colors: {
  custom: {
    50: '#866bd7',
    500: '#3d30c4',
    950: '#000000',
  },
}
SCSS
$custom: #3d30c4;
$custom-light: #866bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d30c4",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 196
  },
  "hsl": {
    "h": 245.27,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43578,
    "c": 0.21654,
    "h": 276.4
  },
  "luminance": 0.07092
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D30C4

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

Preview Lab → · Contrast checker → · Palette generator →

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