#3A50CB#3A50CB

#3A50CB is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.1% C 0.191 H 270.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#3A50CB
RGBrgb(58, 80, 203)
HSLhsl(231, 58%, 51%)
HSVhsv(231, 71%, 80%)
CMYKcmyk(71.4%, 60.6%, 0%, 20.4%)
CIE-LABlab(39.49, 33.33, -66.26)
CIE-LCHlch(39.49, 74.17, 296.71°)
OKLaboklab(49.14% 0 -0.1912)
OKLCHoklch(49.14% 0.191 270)
XYZxyz(15.3894, 10.9471, 57.7903)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A50CB #CBB53A
analogous
#3A98CB #3A50CB #6C3ACB
triadic
#3A50CB #CB3A50 #50CB3A
tetradic
#3A50CB #CB3A98 #CBB53A #3ACB6C
square
#3A50CB #CB3A98 #CBB53A #3ACB6C
split-complementary
#3A50CB #CB6C3A #98CB3A
monochromatic
#1D296E #2A3B9E #3A50CB #6A7BD8 #9BA6E5

Accessibility & contrast

On white

6.58
#3A50CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3A50CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A50CB
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A50CB#FFFFFF#000000##FFFFFF
##3A50CB1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a50cb;
/* rgb */ color: rgb(58, 80, 203);
/* oklch */ color: oklch(49.1% 0.191 270.0);
Tailwind
colors: {
  custom: {
    50: '#8381dc',
    500: '#3a50cb',
    950: '#000000',
  },
}
SCSS
$custom: #3a50cb;
$custom-light: #8381dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a50cb",
  "rgb": {
    "r": 58,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 230.897,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49138,
    "c": 0.19125,
    "h": 270
  },
  "luminance": 0.10949
}

Semantic roles & 50–950 ramp

primary
#3A50CB
secondary
#D0C790
accent
#CA46E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3A50CB

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

Preview Lab → · Contrast checker → · Palette generator →

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