#3A4CBC#3A4CBC

#3A4CBC is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.1% C 0.176 H 271.0°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#3A4CBC
RGBrgb(58, 76, 188)
HSLhsl(232, 53%, 48%)
HSVhsv(232, 69%, 74%)
CMYKcmyk(69.1%, 59.6%, 0%, 26.3%)
CIE-LABlab(37.29, 30.53, -61.10)
CIE-LCHlch(37.29, 68.30, 296.55°)
OKLaboklab(47.14% 0.0031 -0.1761)
OKLCHoklch(47.14% 0.176 271)
XYZxyz(13.4034, 9.6980, 48.7327)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4CBC #BCAA3A
analogous
#3A8DBC #3A4CBC #693ABC
triadic
#3A4CBC #BC3A4C #4CBC3A
tetradic
#3A4CBC #BC3A8D #BCAA3A #3ABC69
square
#3A4CBC #BC3A8D #BCAA3A #3ABC69
split-complementary
#3A4CBC #BC693A #8DBC3A
monochromatic
#1D265E #2C398D #3A4CBC #6473CF #939DDE

Accessibility & contrast

On white

7.14
#3A4CBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A4CBC
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4CBC#FFFFFF#000000##FFFFFF
##3A4CBC1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a4cbc;
/* rgb */ color: rgb(58, 76, 188);
/* oklch */ color: oklch(47.1% 0.176 271.0);
Tailwind
colors: {
  custom: {
    50: '#807dd1',
    500: '#3a4cbc',
    950: '#000000',
  },
}
SCSS
$custom: #3a4cbc;
$custom-light: #807dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4cbc",
  "rgb": {
    "r": 58,
    "g": 76,
    "b": 188
  },
  "hsl": {
    "h": 231.692,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47135,
    "c": 0.17618,
    "h": 271
  },
  "luminance": 0.09699
}

Semantic roles & 50–950 ramp

primary
#3A4CBC
secondary
#C9C089
accent
#C84CDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3A4CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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