#3A4BCB#3A4BCB

#3A4BCB is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.2% C 0.197 H 271.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#3A4BCB
RGBrgb(58, 75, 203)
HSLhsl(233, 58%, 51%)
HSVhsv(233, 71%, 80%)
CMYKcmyk(71.4%, 63.1%, 0%, 20.4%)
CIE-LABlab(38.27, 36.49, -68.25)
CIE-LCHlch(38.27, 77.39, 298.13°)
OKLaboklab(48.24% 0.0035 -0.1971)
OKLCHoklch(48.24% 0.197 271)
XYZxyz(15.0368, 10.2420, 57.6728)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4BCB #CBBA3A
analogous
#3A93CB #3A4BCB #713ACB
triadic
#3A4BCB #CB3A4B #4BCB3A
tetradic
#3A4BCB #CB3A93 #CBBA3A #3ACB71
square
#3A4BCB #CB3A93 #CBBA3A #3ACB71
split-complementary
#3A4BCB #CB713A #93CB3A
monochromatic
#1D266E #2A379E #3A4BCB #6A77D8 #9BA3E5

Accessibility & contrast

On white

6.89
#3A4BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3A4BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4BCB
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4BCB#FFFFFF#000000##FFFFFF
##3A4BCB1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0053C9
Tritanopia (blue-blind)
#006C84
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3a4bcb;
/* rgb */ color: rgb(58, 75, 203);
/* oklch */ color: oklch(48.2% 0.197 271.0);
Tailwind
colors: {
  custom: {
    50: '#847ddc',
    500: '#3a4bcb',
    950: '#000000',
  },
}
SCSS
$custom: #3a4bcb;
$custom-light: #847ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4bcb",
  "rgb": {
    "r": 58,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 232.966,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48239,
    "c": 0.19717,
    "h": 271
  },
  "luminance": 0.10243
}

Semantic roles & 50–950 ramp

primary
#3A4BCB
secondary
#D0C990
accent
#CF46E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3A4BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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