#3A4CB0#3A4CB0

#3A4CB0 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.2% C 0.160 H 271.1°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#3A4CB0
RGBrgb(58, 76, 176)
HSLhsl(231, 50%, 46%)
HSVhsv(231, 67%, 69%)
CMYKcmyk(67%, 56.8%, 0%, 31%)
CIE-LABlab(36.37, 26.23, -55.53)
CIE-LCHlch(36.37, 61.41, 295.29°)
OKLaboklab(46.16% 0.003 -0.1598)
OKLCHoklch(46.16% 0.16 271.1)
XYZxyz(12.1632, 9.2019, 42.2010)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4CB0 #B09E3A
analogous
#3A87B0 #3A4CB0 #633AB0
triadic
#3A4CB0 #B03A4C #4CB03A
tetradic
#3A4CB0 #B03A87 #B09E3A #3AB063
square
#3A4CB0 #B03A87 #B09E3A #3AB063
split-complementary
#3A4CB0 #B0633A #87B03A
monochromatic
#1C2454 #2B3882 #3A4CB0 #5D6ECA #8B97D9

Accessibility & contrast

On white

7.39
#3A4CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3A4CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4CB0
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4CB0#FFFFFF#000000##FFFFFF
##3A4CB01.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a4cb0;
/* rgb */ color: rgb(58, 76, 176);
/* oklch */ color: oklch(46.2% 0.160 271.1);
Tailwind
colors: {
  custom: {
    50: '#7e7dc8',
    500: '#3a4cb0',
    950: '#000000',
  },
}
SCSS
$custom: #3a4cb0;
$custom-light: #7e7dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4cb0",
  "rgb": {
    "r": 58,
    "g": 76,
    "b": 176
  },
  "hsl": {
    "h": 230.847,
    "s": 50.427,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46156,
    "c": 0.15981,
    "h": 271.1
  },
  "luminance": 0.09203
}

Semantic roles & 50–950 ramp

primary
#3A4CB0
secondary
#C3B982
accent
#C54EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3A4CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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