#3B57CA#3B57CA

#3B57CA is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.4% C 0.181 H 268.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#3B57CA
RGBrgb(59, 87, 202)
HSLhsl(228, 57%, 51%)
HSVhsv(228, 71%, 79%)
CMYKcmyk(70.8%, 56.9%, 0%, 20.8%)
CIE-LABlab(41.23, 28.64, -62.84)
CIE-LCHlch(41.23, 69.06, 294.50°)
OKLaboklab(50.42% -0.0043 -0.1811)
OKLCHoklch(50.42% 0.181 268.6)
XYZxyz(15.8688, 12.0089, 57.3473)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B57CA #CAAE3B
analogous
#3B9ECA #3B57CA #663BCA
triadic
#3B57CA #CA3B57 #57CA3B
tetradic
#3B57CA #CA3B9E #CAAE3B #3BCA66
square
#3B57CA #CA3B9E #CAAE3B #3BCA66
split-complementary
#3B57CA #CA663B #9ECA3B
monochromatic
#1E2D6D #2B419D #3B57CA #6B80D7 #9BAAE4

Accessibility & contrast

On white

6.17
#3B57CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#3B57CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B57CA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B57CA#FFFFFF#000000##FFFFFF
##3B57CA1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3b57ca;
/* rgb */ color: rgb(59, 87, 202);
/* oklch */ color: oklch(50.4% 0.181 268.6);
Tailwind
colors: {
  custom: {
    50: '#8386db',
    500: '#3b57ca',
    950: '#000000',
  },
}
SCSS
$custom: #3b57ca;
$custom-light: #8386db;
$custom-dark: #000000;
JSON
{
  "hex": "#3b57ca",
  "rgb": {
    "r": 59,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 228.252,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50422,
    "c": 0.18117,
    "h": 268.6
  },
  "luminance": 0.1201
}

Semantic roles & 50–950 ramp

primary
#3B57CA
secondary
#D0C491
accent
#C347E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3B57CA

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

Preview Lab → · Contrast checker → · Palette generator →

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