#3B59CC#3B59CC

#3B59CC is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.0% C 0.181 H 268.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#3B59CC
RGBrgb(59, 89, 204)
HSLhsl(228, 59%, 52%)
HSVhsv(228, 71%, 80%)
CMYKcmyk(71.1%, 56.4%, 0%, 20%)
CIE-LABlab(41.90, 28.08, -62.92)
CIE-LCHlch(41.90, 68.90, 294.05°)
OKLaboklab(50.97% -0.0058 -0.1813)
OKLCHoklch(50.97% 0.181 268.2)
XYZxyz(16.2713, 12.4325, 58.6572)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B59CC #CCAE3B
analogous
#3BA2CC #3B59CC #663BCC
triadic
#3B59CC #CC3B59 #59CC3B
tetradic
#3B59CC #CC3BA2 #CCAE3B #3BCC66
square
#3B59CC #CC3BA2 #CCAE3B #3BCC66
split-complementary
#3B59CC #CC663B #A2CC3B
monochromatic
#1D2E70 #2A42A0 #3B59CC #6C82D9 #9CABE5

Accessibility & contrast

On white

6.02
#3B59CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#3B59CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B59CC
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B59CC#FFFFFF#000000##FFFFFF
##3B59CC1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3b59cc;
/* rgb */ color: rgb(59, 89, 204);
/* oklch */ color: oklch(51.0% 0.181 268.2);
Tailwind
colors: {
  custom: {
    50: '#8387dc',
    500: '#3b59cc',
    950: '#000000',
  },
}
SCSS
$custom: #3b59cc;
$custom-light: #8387dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b59cc",
  "rgb": {
    "r": 59,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 227.586,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50967,
    "c": 0.1814,
    "h": 268.2
  },
  "luminance": 0.12434
}

Semantic roles & 50–950 ramp

primary
#3B59CC
secondary
#D1C492
accent
#C246E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3B59CC

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

Preview Lab → · Contrast checker → · Palette generator →

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