#3A4BC6#3A4BC6

#3A4BC6 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.8% C 0.191 H 271.1°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#3A4BC6
RGBrgb(58, 75, 198)
HSLhsl(233, 55%, 50%)
HSVhsv(233, 71%, 78%)
CMYKcmyk(70.7%, 62.1%, 0%, 22.4%)
CIE-LABlab(37.86, 34.72, -66.02)
CIE-LCHlch(37.86, 74.60, 297.74°)
OKLaboklab(47.8% 0.0037 -0.1906)
OKLCHoklch(47.8% 0.191 271.1)
XYZxyz(14.4506, 10.0075, 54.5852)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4BC6 #C6B53A
analogous
#3A91C6 #3A4BC6 #6F3AC6
triadic
#3A4BC6 #C63A4B #4BC63A
tetradic
#3A4BC6 #C63A91 #C6B53A #3AC66F
square
#3A4BC6 #C63A91 #C6B53A #3AC66F
split-complementary
#3A4BC6 #C66F3A #91C63A
monochromatic
#1E2768 #2C3997 #3A4BC6 #6976D4 #99A2E1

Accessibility & contrast

On white

7.00
#3A4BC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#3A4BC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4BC6
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4BC6#FFFFFF#000000##FFFFFF
##3A4BC61.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#0053C4
Tritanopia (blue-blind)
#006A81
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a4bc6;
/* rgb */ color: rgb(58, 75, 198);
/* oklch */ color: oklch(47.8% 0.191 271.1);
Tailwind
colors: {
  custom: {
    50: '#837dd8',
    500: '#3a4bc6',
    950: '#000000',
  },
}
SCSS
$custom: #3a4bc6;
$custom-light: #837dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4bc6",
  "rgb": {
    "r": 58,
    "g": 75,
    "b": 198
  },
  "hsl": {
    "h": 232.714,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47802,
    "c": 0.19066,
    "h": 271.1
  },
  "luminance": 0.10009
}

Semantic roles & 50–950 ramp

primary
#3A4BC6
secondary
#CDC68F
accent
#CC49DE
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3A4BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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