#3D30C1#3D30C1

#3D30C1 is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.3% C 0.213 H 276.7°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#3D30C1
RGBrgb(61, 48, 193)
HSLhsl(245, 60%, 47%)
HSVhsv(245, 75%, 76%)
CMYKcmyk(68.4%, 75.1%, 0%, 24.3%)
CIE-LABlab(31.70, 49.35, -73.19)
CIE-LCHlch(31.70, 88.28, 303.99°)
OKLaboklab(43.27% 0.0249 -0.2115)
OKLCHoklch(43.27% 0.213 276.7)
XYZxyz(12.6039, 6.9551, 51.1200)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D30C1 #B4C130
analogous
#306CC1 #3D30C1 #8530C1
triadic
#3D30C1 #C13D30 #30C13D
tetradic
#3D30C1 #C1306C #B4C130 #30C185
square
#3D30C1 #C1306C #B4C130 #30C185
split-complementary
#3D30C1 #C18530 #6CC130
monochromatic
#1E185F #2E2490 #3D30C1 #6459D6 #928AE2

Accessibility & contrast

On white

8.78
#3D30C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D30C1
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D30C1#FFFFFF#000000##FFFFFF
##3D30C11.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C5
Deuteranopia (green-blind)
#0044BE
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3d30c1;
/* rgb */ color: rgb(61, 48, 193);
/* oklch */ color: oklch(43.3% 0.213 276.7);
Tailwind
colors: {
  custom: {
    50: '#856bd5',
    500: '#3d30c1',
    950: '#000000',
  },
}
SCSS
$custom: #3d30c1;
$custom-light: #856bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d30c1",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 193
  },
  "hsl": {
    "h": 245.379,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4327,
    "c": 0.21299,
    "h": 276.7
  },
  "luminance": 0.06956
}

Semantic roles & 50–950 ramp

primary
#3D30C1
secondary
#C5CC81
accent
#E344D5
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #3D30C1

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

Preview Lab → · Contrast checker → · Palette generator →

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