#3A4CB2#3A4CB2

#3A4CB2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.163 H 271.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#3A4CB2
RGBrgb(58, 76, 178)
HSLhsl(231, 51%, 46%)
HSVhsv(231, 67%, 70%)
CMYKcmyk(67.4%, 57.3%, 0%, 30.2%)
CIE-LABlab(36.52, 26.95, -56.47)
CIE-LCHlch(36.52, 62.57, 295.51°)
OKLaboklab(46.32% 0.003 -0.1625)
OKLCHoklch(46.32% 0.163 271.1)
XYZxyz(12.3625, 9.2816, 43.2509)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4CB2 #B2A03A
analogous
#3A88B2 #3A4CB2 #643AB2
triadic
#3A4CB2 #B23A4C #4CB23A
tetradic
#3A4CB2 #B23A88 #B2A03A #3AB264
square
#3A4CB2 #B23A88 #B2A03A #3AB264
split-complementary
#3A4CB2 #B2643A #88B23A
monochromatic
#1C2556 #2B3884 #3A4CB2 #5F6FCB #8D98DA

Accessibility & contrast

On white

7.35
#3A4CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3A4CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4CB2
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4CB2#FFFFFF#000000##FFFFFF
##3A4CB21.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a4cb2;
/* rgb */ color: rgb(58, 76, 178);
/* oklch */ color: oklch(46.3% 0.163 271.1);
Tailwind
colors: {
  custom: {
    50: '#7e7dca',
    500: '#3a4cb2',
    950: '#000000',
  },
}
SCSS
$custom: #3a4cb2;
$custom-light: #7e7dca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4cb2",
  "rgb": {
    "r": 58,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 231,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46316,
    "c": 0.16257,
    "h": 271.1
  },
  "luminance": 0.09283
}

Semantic roles & 50–950 ramp

primary
#3A4CB2
secondary
#C4BB83
accent
#C54DDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3A4CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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