#3A4EB5#3A4EB5

#3A4EB5 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.164 H 270.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#3A4EB5
RGBrgb(58, 78, 181)
HSLhsl(230, 51%, 47%)
HSVhsv(230, 68%, 71%)
CMYKcmyk(68%, 56.9%, 0%, 29%)
CIE-LABlab(37.27, 26.73, -57.02)
CIE-LCHlch(37.27, 62.98, 295.12°)
OKLaboklab(46.95% 0.0014 -0.1642)
OKLCHoklch(46.95% 0.164 270.5)
XYZxyz(12.8070, 9.6833, 44.9012)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4EB5 #B5A13A
analogous
#3A8CB5 #3A4EB5 #643AB5
triadic
#3A4EB5 #B53A4E #4EB53A
tetradic
#3A4EB5 #B53A8C #B5A13A #3AB564
square
#3A4EB5 #B53A8C #B5A13A #3AB564
split-complementary
#3A4EB5 #B5643A #8CB53A
monochromatic
#1C2658 #2B3A87 #3A4EB5 #6072CC #8E9BDB

Accessibility & contrast

On white

7.15
#3A4EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#3A4EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4EB5
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4EB5#FFFFFF#000000##FFFFFF
##3A4EB51.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#0052B3
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a4eb5;
/* rgb */ color: rgb(58, 78, 181);
/* oklch */ color: oklch(46.9% 0.164 270.5);
Tailwind
colors: {
  custom: {
    50: '#7f7fcc',
    500: '#3a4eb5',
    950: '#000000',
  },
}
SCSS
$custom: #3a4eb5;
$custom-light: #7f7fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4eb5",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 181
  },
  "hsl": {
    "h": 230.244,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46946,
    "c": 0.16417,
    "h": 270.5
  },
  "luminance": 0.09685
}

Semantic roles & 50–950 ramp

primary
#3A4EB5
secondary
#C6BB85
accent
#C44DDB
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3A4EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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