#3B51CA#3B51CA

#3B51CA is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.3% C 0.188 H 270.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#3B51CA
RGBrgb(59, 81, 202)
HSLhsl(231, 57%, 51%)
HSVhsv(231, 71%, 79%)
CMYKcmyk(70.8%, 59.9%, 0%, 20.8%)
CIE-LABlab(39.71, 32.47, -65.32)
CIE-LCHlch(39.71, 72.94, 296.43°)
OKLaboklab(49.29% 0.0003 -0.1885)
OKLCHoklch(49.29% 0.188 270.1)
XYZxyz(15.4031, 11.0774, 57.1921)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B51CA #CAB43B
analogous
#3B98CA #3B51CA #6C3BCA
triadic
#3B51CA #CA3B51 #51CA3B
tetradic
#3B51CA #CA3B98 #CAB43B #3BCA6C
square
#3B51CA #CA3B98 #CAB43B #3BCA6C
split-complementary
#3B51CA #CA6C3B #98CA3B
monochromatic
#1E2A6D #2B3C9D #3B51CA #6B7CD7 #9BA7E4

Accessibility & contrast

On white

6.53
#3B51CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#3B51CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B51CA
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B51CA#FFFFFF#000000##FFFFFF
##3B51CA1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0057C8
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3b51ca;
/* rgb */ color: rgb(59, 81, 202);
/* oklch */ color: oklch(49.3% 0.188 270.1);
Tailwind
colors: {
  custom: {
    50: '#8381db',
    500: '#3b51ca',
    950: '#000000',
  },
}
SCSS
$custom: #3b51ca;
$custom-light: #8381db;
$custom-dark: #000000;
JSON
{
  "hex": "#3b51ca",
  "rgb": {
    "r": 59,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 230.769,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49289,
    "c": 0.18846,
    "h": 270.1
  },
  "luminance": 0.11079
}

Semantic roles & 50–950 ramp

primary
#3B51CA
secondary
#D0C691
accent
#C947E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3B51CA

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

Preview Lab → · Contrast checker → · Palette generator →

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