#3D30C2#3D30C2

#3D30C2 is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.4% C 0.214 H 276.6°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#3D30C2
RGBrgb(61, 48, 194)
HSLhsl(245, 60%, 47%)
HSVhsv(245, 75%, 76%)
CMYKcmyk(68.6%, 75.3%, 0%, 23.9%)
CIE-LABlab(31.81, 49.66, -73.61)
CIE-LCHlch(31.81, 88.80, 304.00°)
OKLaboklab(43.37% 0.0246 -0.2127)
OKLCHoklch(43.37% 0.214 276.6)
XYZxyz(12.7158, 6.9999, 51.7095)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D30C2 #B5C230
analogous
#306CC2 #3D30C2 #8630C2
triadic
#3D30C2 #C23D30 #30C23D
tetradic
#3D30C2 #C2306C #B5C230 #30C286
square
#3D30C2 #C2306C #B5C230 #30C286
split-complementary
#3D30C2 #C28630 #6CC230
monochromatic
#1E1860 #2E2491 #3D30C2 #6459D6 #928AE2

Accessibility & contrast

On white

8.75
#3D30C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3D30C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D30C2
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D30C2#FFFFFF#000000##FFFFFF
##3D30C21.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C6
Deuteranopia (green-blind)
#0044BF
Tritanopia (blue-blind)
#005B77
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3d30c2;
/* rgb */ color: rgb(61, 48, 194);
/* oklch */ color: oklch(43.4% 0.214 276.6);
Tailwind
colors: {
  custom: {
    50: '#856bd6',
    500: '#3d30c2',
    950: '#000000',
  },
}
SCSS
$custom: #3d30c2;
$custom-light: #856bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d30c2",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 245.342,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43372,
    "c": 0.21417,
    "h": 276.6
  },
  "luminance": 0.07001
}

Semantic roles & 50–950 ramp

primary
#3D30C2
secondary
#C5CC82
accent
#E344D5
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #3D30C2

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

Preview Lab → · Contrast checker → · Palette generator →

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