#3A4BC2#3A4BC2

#3A4BC2 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.5% C 0.185 H 271.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#3A4BC2
RGBrgb(58, 75, 194)
HSLhsl(233, 54%, 49%)
HSVhsv(233, 70%, 76%)
CMYKcmyk(70.1%, 61.3%, 0%, 23.9%)
CIE-LABlab(37.53, 33.31, -64.23)
CIE-LCHlch(37.53, 72.35, 297.41°)
OKLaboklab(47.46% 0.0038 -0.1854)
OKLCHoklch(47.46% 0.185 271.2)
XYZxyz(13.9953, 9.8254, 52.1874)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4BC2 #C2B13A
analogous
#3A8FC2 #3A4BC2 #6D3AC2
triadic
#3A4BC2 #C23A4B #4BC23A
tetradic
#3A4BC2 #C23A8F #C2B13A #3AC26D
square
#3A4BC2 #C23A8F #C2B13A #3AC26D
split-complementary
#3A4BC2 #C26D3A #8FC23A
monochromatic
#1E2764 #2C3993 #3A4BC2 #6775D2 #97A0E0

Accessibility & contrast

On white

7.08
#3A4BC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#3A4BC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4BC2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4BC2#FFFFFF#000000##FFFFFF
##3A4BC21.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0052C0
Tritanopia (blue-blind)
#00697F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a4bc2;
/* rgb */ color: rgb(58, 75, 194);
/* oklch */ color: oklch(47.5% 0.185 271.2);
Tailwind
colors: {
  custom: {
    50: '#827dd5',
    500: '#3a4bc2',
    950: '#000000',
  },
}
SCSS
$custom: #3a4bc2;
$custom-light: #827dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4bc2",
  "rgb": {
    "r": 58,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 232.5,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47458,
    "c": 0.1854,
    "h": 271.2
  },
  "luminance": 0.09827
}

Semantic roles & 50–950 ramp

primary
#3A4BC2
secondary
#CBC38D
accent
#CB4ADD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A4BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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