#3A4BC1#3A4BC1

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

Color values

HEX#3A4BC1
RGBrgb(58, 75, 193)
HSLhsl(232, 54%, 49%)
HSVhsv(232, 70%, 76%)
CMYKcmyk(69.9%, 61.1%, 0%, 24.3%)
CIE-LABlab(37.45, 32.95, -63.78)
CIE-LCHlch(37.45, 71.79, 297.32°)
OKLaboklab(47.37% 0.0038 -0.184)
OKLCHoklch(47.37% 0.184 271.2)
XYZxyz(13.8834, 9.7806, 51.5979)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4BC1 #C1B03A
analogous
#3A8FC1 #3A4BC1 #6C3AC1
triadic
#3A4BC1 #C13A4B #4BC13A
tetradic
#3A4BC1 #C13A8F #C1B03A #3AC16C
square
#3A4BC1 #C13A8F #C1B03A #3AC16C
split-complementary
#3A4BC1 #C16C3A #8FC13A
monochromatic
#1E2663 #2C3992 #3A4BC1 #6774D1 #969FDF

Accessibility & contrast

On white

7.10
#3A4BC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3A4BC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4BC1
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4BC1#FFFFFF#000000##FFFFFF
##3A4BC11.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a4bc1;
/* rgb */ color: rgb(58, 75, 193);
/* oklch */ color: oklch(47.4% 0.184 271.2);
Tailwind
colors: {
  custom: {
    50: '#827dd5',
    500: '#3a4bc1',
    950: '#000000',
  },
}
SCSS
$custom: #3a4bc1;
$custom-light: #827dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4bc1",
  "rgb": {
    "r": 58,
    "g": 75,
    "b": 193
  },
  "hsl": {
    "h": 232.444,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47372,
    "c": 0.18407,
    "h": 271.2
  },
  "luminance": 0.09782
}

Semantic roles & 50–950 ramp

primary
#3A4BC1
secondary
#CBC38C
accent
#CB4BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A4BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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