#3A4ABC#3A4ABC

#3A4ABC is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.8% C 0.179 H 271.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#3A4ABC
RGBrgb(58, 74, 188)
HSLhsl(233, 53%, 48%)
HSVhsv(233, 69%, 74%)
CMYKcmyk(69.1%, 60.6%, 0%, 26.3%)
CIE-LABlab(36.79, 31.81, -61.92)
CIE-LCHlch(36.79, 69.61, 297.20°)
OKLaboklab(46.76% 0.0047 -0.1786)
OKLCHoklch(46.76% 0.179 271.5)
XYZxyz(13.2677, 9.4267, 48.6875)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4ABC #BCAC3A
analogous
#3A8BBC #3A4ABC #6B3ABC
triadic
#3A4ABC #BC3A4A #4ABC3A
tetradic
#3A4ABC #BC3A8B #BCAC3A #3ABC6B
square
#3A4ABC #BC3A8B #BCAC3A #3ABC6B
split-complementary
#3A4ABC #BC6B3A #8BBC3A
monochromatic
#1D255E #2C388D #3A4ABC #6471CF #939CDE

Accessibility & contrast

On white

7.28
#3A4ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3A4ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4ABC
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4ABC#FFFFFF#000000##FFFFFF
##3A4ABC1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a4abc;
/* rgb */ color: rgb(58, 74, 188);
/* oklch */ color: oklch(46.8% 0.179 271.5);
Tailwind
colors: {
  custom: {
    50: '#817cd1',
    500: '#3a4abc',
    950: '#000000',
  },
}
SCSS
$custom: #3a4abc;
$custom-light: #817cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4abc",
  "rgb": {
    "r": 58,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 232.615,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46764,
    "c": 0.17863,
    "h": 271.5
  },
  "luminance": 0.09428
}

Semantic roles & 50–950 ramp

primary
#3A4ABC
secondary
#C9C189
accent
#CA4CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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