#3B57CC#3B57CC

#3B57CC is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.6% C 0.184 H 268.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#3B57CC
RGBrgb(59, 87, 204)
HSLhsl(228, 59%, 52%)
HSVhsv(228, 71%, 80%)
CMYKcmyk(71.1%, 57.4%, 0%, 20%)
CIE-LABlab(41.38, 29.36, -63.75)
CIE-LCHlch(41.38, 70.19, 294.73°)
OKLaboklab(50.58% -0.0042 -0.1838)
OKLCHoklch(50.58% 0.184 268.7)
XYZxyz(16.1072, 12.1042, 58.6025)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B57CC #CCB03B
analogous
#3BA0CC #3B57CC #683BCC
triadic
#3B57CC #CC3B57 #57CC3B
tetradic
#3B57CC #CC3BA0 #CCB03B #3BCC68
square
#3B57CC #CC3BA0 #CCB03B #3BCC68
split-complementary
#3B57CC #CC683B #A0CC3B
monochromatic
#1D2D70 #2A41A0 #3B57CC #6C81D9 #9CAAE5

Accessibility & contrast

On white

6.14
#3B57CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#3B57CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B57CC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B57CC#FFFFFF#000000##FFFFFF
##3B57CC1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3b57cc;
/* rgb */ color: rgb(59, 87, 204);
/* oklch */ color: oklch(50.6% 0.184 268.7);
Tailwind
colors: {
  custom: {
    50: '#8386dc',
    500: '#3b57cc',
    950: '#000000',
  },
}
SCSS
$custom: #3b57cc;
$custom-light: #8386dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b57cc",
  "rgb": {
    "r": 59,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 228.414,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50582,
    "c": 0.18385,
    "h": 268.7
  },
  "luminance": 0.12106
}

Semantic roles & 50–950 ramp

primary
#3B57CC
secondary
#D1C592
accent
#C446E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3B57CC

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

Preview Lab → · Contrast checker → · Palette generator →

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