#3B57BA#3B57BA

#3B57BA is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.2% C 0.159 H 268.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#3B57BA
RGBrgb(59, 87, 186)
HSLhsl(227, 52%, 48%)
HSVhsv(227, 68%, 73%)
CMYKcmyk(68.3%, 53.2%, 0%, 27.1%)
CIE-LABlab(40.06, 22.85, -55.43)
CIE-LCHlch(40.06, 59.95, 292.40°)
OKLaboklab(49.18% -0.0052 -0.1593)
OKLCHoklch(49.18% 0.159 268.1)
XYZxyz(14.0717, 11.2900, 47.8825)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B57BA #BA9E3B
analogous
#3B96BA #3B57BA #5F3BBA
triadic
#3B57BA #BA3B57 #57BA3B
tetradic
#3B57BA #BA3B96 #BA9E3B #3BBA5F
square
#3B57BA #BA3B96 #BA9E3B #3BBA5F
split-complementary
#3B57BA #BA5F3B #96BA3B
monochromatic
#1E2C5D #2C418C #3B57BA #647CCE #93A3DD

Accessibility & contrast

On white

6.45
#3B57BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#3B57BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B57BA
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B57BA#FFFFFF#000000##FFFFFF
##3B57BA1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1364BD
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3b57ba;
/* rgb */ color: rgb(59, 87, 186);
/* oklch */ color: oklch(49.2% 0.159 268.1);
Tailwind
colors: {
  custom: {
    50: '#8086cf',
    500: '#3b57ba',
    950: '#000000',
  },
}
SCSS
$custom: #3b57ba;
$custom-light: #8086cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3b57ba",
  "rgb": {
    "r": 59,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 226.772,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49177,
    "c": 0.15939,
    "h": 268.1
  },
  "luminance": 0.11291
}

Semantic roles & 50–950 ramp

primary
#3B57BA
secondary
#C8BA89
accent
#BC4DDB
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3B57BA

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

Preview Lab → · Contrast checker → · Palette generator →

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