#3B42CE#3B42CE

#3B42CE is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.1% C 0.211 H 272.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#3B42CE
RGBrgb(59, 66, 206)
HSLhsl(237, 60%, 52%)
HSVhsv(237, 71%, 81%)
CMYKcmyk(71.4%, 68%, 0%, 19.2%)
CIE-LABlab(36.52, 43.15, -72.86)
CIE-LCHlch(36.52, 84.68, 300.64°)
OKLaboklab(47.06% 0.0101 -0.2106)
OKLCHoklch(47.06% 0.211 272.7)
XYZxyz(14.8887, 9.2810, 59.3873)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B42CE #CEC73B
analogous
#3B8CCE #3B42CE #7E3BCE
triadic
#3B42CE #CE3B42 #42CE3B
tetradic
#3B42CE #CE3B8C #CEC73B #3BCE7E
square
#3B42CE #CE3B8C #CEC73B #3BCE7E
split-complementary
#3B42CE #CE7E3B #8CCE3B
monochromatic
#1D2172 #292FA3 #3B42CE #6C71DA #9DA0E6

Accessibility & contrast

On white

7.35
#3B42CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3B42CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B42CE
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B42CE#FFFFFF#000000##FFFFFF
##3B42CE1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD2
Deuteranopia (green-blind)
#004FCB
Tritanopia (blue-blind)
#006883
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3b42ce;
/* rgb */ color: rgb(59, 66, 206);
/* oklch */ color: oklch(47.1% 0.211 272.7);
Tailwind
colors: {
  custom: {
    50: '#8577de',
    500: '#3b42ce',
    950: '#000000',
  },
}
SCSS
$custom: #3b42ce;
$custom-light: #8577de;
$custom-dark: #000000;
JSON
{
  "hex": "#3b42ce",
  "rgb": {
    "r": 59,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 237.143,
    "s": 60,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47055,
    "c": 0.21089,
    "h": 272.7
  },
  "luminance": 0.09282
}

Semantic roles & 50–950 ramp

primary
#3B42CE
secondary
#D3D092
accent
#DC45E3
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #3B42CE

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

Preview Lab → · Contrast checker → · Palette generator →

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