#3B30C2#3B30C2

#3B30C2 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.2% C 0.215 H 275.9°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#3B30C2
RGBrgb(59, 48, 194)
HSLhsl(245, 60%, 47%)
HSVhsv(245, 75%, 76%)
CMYKcmyk(69.6%, 75.3%, 0%, 23.9%)
CIE-LABlab(31.66, 49.46, -73.85)
CIE-LCHlch(31.66, 88.89, 303.81°)
OKLaboklab(43.24% 0.022 -0.2135)
OKLCHoklch(43.24% 0.215 275.9)
XYZxyz(12.5950, 6.9376, 51.7038)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B30C2 #B7C230
analogous
#306EC2 #3B30C2 #8430C2
triadic
#3B30C2 #C23B30 #30C23B
tetradic
#3B30C2 #C2306E #B7C230 #30C284
square
#3B30C2 #C2306E #B7C230 #30C284
split-complementary
#3B30C2 #C28430 #6EC230
monochromatic
#1D1860 #2C2491 #3B30C2 #6359D6 #918AE2

Accessibility & contrast

On white

8.79
#3B30C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B30C2
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B30C2#FFFFFF#000000##FFFFFF
##3B30C21.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b30c2;
/* rgb */ color: rgb(59, 48, 194);
/* oklch */ color: oklch(43.2% 0.215 275.9);
Tailwind
colors: {
  custom: {
    50: '#846bd6',
    500: '#3b30c2',
    950: '#000000',
  },
}
SCSS
$custom: #3b30c2;
$custom-light: #846bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3b30c2",
  "rgb": {
    "r": 59,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 244.521,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43235,
    "c": 0.21462,
    "h": 275.9
  },
  "luminance": 0.06939
}

Semantic roles & 50–950 ramp

primary
#3B30C2
secondary
#C6CC82
accent
#E344D7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #3B30C2

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

Preview Lab → · Contrast checker → · Palette generator →

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