#3D30C5#3D30C5

#3D30C5 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.7% C 0.218 H 276.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#3D30C5
RGBrgb(61, 48, 197)
HSLhsl(245, 61%, 48%)
HSVhsv(245, 76%, 77%)
CMYKcmyk(69%, 75.6%, 0%, 22.7%)
CIE-LABlab(32.11, 50.60, -74.87)
CIE-LCHlch(32.11, 90.36, 304.05°)
OKLaboklab(43.68% 0.024 -0.2164)
OKLCHoklch(43.68% 0.218 276.3)
XYZxyz(13.0562, 7.1360, 53.5018)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D30C5 #B8C530
analogous
#306DC5 #3D30C5 #8730C5
triadic
#3D30C5 #C53D30 #30C53D
tetradic
#3D30C5 #C5306D #B8C530 #30C587
square
#3D30C5 #C5306D #B8C530 #30C587
split-complementary
#3D30C5 #C58730 #6DC530
monochromatic
#1F1863 #2E2494 #3D30C5 #665BD7 #948CE3

Accessibility & contrast

On white

8.65
#3D30C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3D30C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D30C5
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D30C5#FFFFFF#000000##FFFFFF
##3D30C51.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C9
Deuteranopia (green-blind)
#0045C2
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3d30c5;
/* rgb */ color: rgb(61, 48, 197);
/* oklch */ color: oklch(43.7% 0.218 276.3);
Tailwind
colors: {
  custom: {
    50: '#866bd8',
    500: '#3d30c5',
    950: '#000000',
  },
}
SCSS
$custom: #3d30c5;
$custom-light: #866bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d30c5",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 197
  },
  "hsl": {
    "h": 245.235,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43681,
    "c": 0.21771,
    "h": 276.3
  },
  "luminance": 0.07137
}

Semantic roles & 50–950 ramp

primary
#3D30C5
secondary
#C7CD84
accent
#E444D6
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3D30C5

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

Preview Lab → · Contrast checker → · Palette generator →

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