#3B3CCC#3B3CCC

#3B3CCC is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 45.9% C 0.215 H 273.7°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#3B3CCC
RGBrgb(59, 60, 204)
HSLhsl(240, 59%, 52%)
HSVhsv(240, 71%, 80%)
CMYKcmyk(71.1%, 70.6%, 0%, 20%)
CIE-LABlab(35.04, 46.01, -74.13)
CIE-LCHlch(35.04, 87.25, 301.83°)
OKLaboklab(45.93% 0.0138 -0.2144)
OKLCHoklch(45.93% 0.215 273.7)
XYZxyz(14.3149, 8.5198, 58.0051)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3CCC #CCCB3B
analogous
#3B85CC #3B3CCC #833BCC
triadic
#3B3CCC #CC3B3C #3CCC3B
tetradic
#3B3CCC #CC3B85 #CCCB3B #3BCC83
square
#3B3CCC #CC3B85 #CCCB3B #3BCC83
split-complementary
#3B3CCC #CC833B #85CC3B
monochromatic
#1D1E70 #2A2AA0 #3B3CCC #6C6CD9 #9C9DE5

Accessibility & contrast

On white

7.77
#3B3CCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3B3CCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3CCC
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3CCC#FFFFFF#000000##FFFFFF
##3B3CCC1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D0
Deuteranopia (green-blind)
#004BC9
Tritanopia (blue-blind)
#006480
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3b3ccc;
/* rgb */ color: rgb(59, 60, 204);
/* oklch */ color: oklch(45.9% 0.215 273.7);
Tailwind
colors: {
  custom: {
    50: '#8673dd',
    500: '#3b3ccc',
    950: '#000000',
  },
}
SCSS
$custom: #3b3ccc;
$custom-light: #8673dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3ccc",
  "rgb": {
    "r": 59,
    "g": 60,
    "b": 204
  },
  "hsl": {
    "h": 239.586,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.45935,
    "c": 0.2148,
    "h": 273.7
  },
  "luminance": 0.08521
}

Semantic roles & 50–950 ramp

primary
#3B3CCC
secondary
#D1D192
accent
#E146E2
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3B3CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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