#3A4BC4#3A4BC4

#3A4BC4 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.6% C 0.188 H 271.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#3A4BC4
RGBrgb(58, 75, 196)
HSLhsl(233, 54%, 50%)
HSVhsv(233, 70%, 77%)
CMYKcmyk(70.4%, 61.7%, 0%, 23.1%)
CIE-LABlab(37.69, 34.02, -65.13)
CIE-LCHlch(37.69, 73.48, 297.58°)
OKLaboklab(47.63% 0.0038 -0.188)
OKLCHoklch(47.63% 0.188 271.1)
XYZxyz(14.2214, 9.9158, 53.3783)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4BC4 #C4B33A
analogous
#3A90C4 #3A4BC4 #6E3AC4
triadic
#3A4BC4 #C43A4B #4BC43A
tetradic
#3A4BC4 #C43A90 #C4B33A #3AC46E
square
#3A4BC4 #C43A90 #C4B33A #3AC46E
split-complementary
#3A4BC4 #C46E3A #90C43A
monochromatic
#1E2766 #2C3995 #3A4BC4 #6976D3 #98A1E0

Accessibility & contrast

On white

7.04
#3A4BC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3A4BC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4BC4
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4BC4#FFFFFF#000000##FFFFFF
##3A4BC41.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#0052C2
Tritanopia (blue-blind)
#006A80
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a4bc4;
/* rgb */ color: rgb(58, 75, 196);
/* oklch */ color: oklch(47.6% 0.188 271.1);
Tailwind
colors: {
  custom: {
    50: '#827dd7',
    500: '#3a4bc4',
    950: '#000000',
  },
}
SCSS
$custom: #3a4bc4;
$custom-light: #827dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4bc4",
  "rgb": {
    "r": 58,
    "g": 75,
    "b": 196
  },
  "hsl": {
    "h": 232.609,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47629,
    "c": 0.18804,
    "h": 271.1
  },
  "luminance": 0.09917
}

Semantic roles & 50–950 ramp

primary
#3A4BC4
secondary
#CCC48E
accent
#CC4ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A4BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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