#3A4CB3#3A4CB3

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

Color values

HEX#3A4CB3
RGBrgb(58, 76, 179)
HSLhsl(231, 51%, 46%)
HSVhsv(231, 68%, 70%)
CMYKcmyk(67.6%, 57.5%, 0%, 29.8%)
CIE-LABlab(36.60, 27.31, -56.93)
CIE-LCHlch(36.60, 63.15, 295.63°)
OKLaboklab(46.4% 0.003 -0.1639)
OKLCHoklch(46.4% 0.164 271.1)
XYZxyz(12.4633, 9.3219, 43.7816)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4CB3 #B3A13A
analogous
#3A89B3 #3A4CB3 #653AB3
triadic
#3A4CB3 #B33A4C #4CB33A
tetradic
#3A4CB3 #B33A89 #B3A13A #3AB365
square
#3A4CB3 #B33A89 #B3A13A #3AB365
split-complementary
#3A4CB3 #B3653A #89B33A
monochromatic
#1C2557 #2B3885 #3A4CB3 #5F6FCB #8D99DA

Accessibility & contrast

On white

7.33
#3A4CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A4CB3
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4CB3#FFFFFF#000000##FFFFFF
##3A4CB31.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a4cb3;
/* rgb */ color: rgb(58, 76, 179);
/* oklch */ color: oklch(46.4% 0.164 271.1);
Tailwind
colors: {
  custom: {
    50: '#7f7dca',
    500: '#3a4cb3',
    950: '#000000',
  },
}
SCSS
$custom: #3a4cb3;
$custom-light: #7f7dca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4cb3",
  "rgb": {
    "r": 58,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 231.074,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46397,
    "c": 0.16394,
    "h": 271.1
  },
  "luminance": 0.09323
}

Semantic roles & 50–950 ramp

primary
#3A4CB3
secondary
#C5BB84
accent
#C64DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3A4CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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