#3A3BCB#3A3BCB

#3A3BCB is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.6% C 0.215 H 273.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#3A3BCB
RGBrgb(58, 59, 203)
HSLhsl(240, 58%, 51%)
HSVhsv(240, 71%, 80%)
CMYKcmyk(71.4%, 70.9%, 0%, 20.4%)
CIE-LABlab(34.68, 46.16, -74.15)
CIE-LCHlch(34.68, 87.34, 301.90°)
OKLaboklab(45.63% 0.0133 -0.2144)
OKLCHoklch(45.63% 0.215 273.6)
XYZxyz(14.0848, 8.3379, 57.3554)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3BCB #CBCA3A
analogous
#3A83CB #3A3BCB #813ACB
triadic
#3A3BCB #CB3A3B #3BCB3A
tetradic
#3A3BCB #CB3A83 #CBCA3A #3ACB81
square
#3A3BCB #CB3A83 #CBCA3A #3ACB81
split-complementary
#3A3BCB #CB813A #83CB3A
monochromatic
#1D1E6E #2A2B9E #3A3BCB #6A6BD8 #9B9BE5

Accessibility & contrast

On white

7.87
#3A3BCB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3A3BCB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3BCB
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3BCB#FFFFFF#000000##FFFFFF
##3A3BCB1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CF
Deuteranopia (green-blind)
#004BC8
Tritanopia (blue-blind)
#00637F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a3bcb;
/* rgb */ color: rgb(58, 59, 203);
/* oklch */ color: oklch(45.6% 0.215 273.6);
Tailwind
colors: {
  custom: {
    50: '#8572dc',
    500: '#3a3bcb',
    950: '#000000',
  },
}
SCSS
$custom: #3a3bcb;
$custom-light: #8572dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3bcb",
  "rgb": {
    "r": 58,
    "g": 59,
    "b": 203
  },
  "hsl": {
    "h": 239.586,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45628,
    "c": 0.21485,
    "h": 273.6
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#3A3BCB
secondary
#D0D090
accent
#E046E1
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3A3BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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