#3B50CB#3B50CB

#3B50CB is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.2% C 0.191 H 270.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#3B50CB
RGBrgb(59, 80, 203)
HSLhsl(231, 58%, 51%)
HSVhsv(231, 71%, 80%)
CMYKcmyk(70.9%, 60.6%, 0%, 20.4%)
CIE-LABlab(39.54, 33.46, -66.17)
CIE-LCHlch(39.54, 74.15, 296.82°)
OKLaboklab(49.19% 0.001 -0.191)
OKLCHoklch(49.19% 0.191 270.3)
XYZxyz(15.4481, 10.9774, 57.7930)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B50CB #CBB63B
analogous
#3B98CB #3B50CB #6E3BCB
triadic
#3B50CB #CB3B50 #50CB3B
tetradic
#3B50CB #CB3B98 #CBB63B #3BCB6E
square
#3B50CB #CB3B98 #CBB63B #3BCB6E
split-complementary
#3B50CB #CB6E3B #98CB3B
monochromatic
#1D296E #2A3B9F #3B50CB #6B7BD8 #9CA6E5

Accessibility & contrast

On white

6.57
#3B50CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3B50CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B50CB
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B50CB#FFFFFF#000000##FFFFFF
##3B50CB1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0057C9
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3b50cb;
/* rgb */ color: rgb(59, 80, 203);
/* oklch */ color: oklch(49.2% 0.191 270.3);
Tailwind
colors: {
  custom: {
    50: '#8481dc',
    500: '#3b50cb',
    950: '#000000',
  },
}
SCSS
$custom: #3b50cb;
$custom-light: #8481dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b50cb",
  "rgb": {
    "r": 59,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 231.25,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49189,
    "c": 0.19098,
    "h": 270.3
  },
  "luminance": 0.10979
}

Semantic roles & 50–950 ramp

primary
#3B50CB
secondary
#D1C791
accent
#CB47E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3B50CB

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

Preview Lab → · Contrast checker → · Palette generator →

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