#3A4CC3#3A4CC3

#3A4CC3 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.7% C 0.186 H 270.9°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#3A4CC3
RGBrgb(58, 76, 195)
HSLhsl(232, 54%, 50%)
HSVhsv(232, 70%, 76%)
CMYKcmyk(70.3%, 61%, 0%, 23.5%)
CIE-LABlab(37.86, 33.03, -64.28)
CIE-LCHlch(37.86, 72.27, 297.19°)
OKLaboklab(47.73% 0.0031 -0.1855)
OKLCHoklch(47.73% 0.186 270.9)
XYZxyz(14.1763, 10.0072, 52.8036)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4CC3 #C3B13A
analogous
#3A90C3 #3A4CC3 #6D3AC3
triadic
#3A4CC3 #C33A4C #4CC33A
tetradic
#3A4CC3 #C33A90 #C3B13A #3AC36D
square
#3A4CC3 #C33A90 #C3B13A #3AC36D
split-complementary
#3A4CC3 #C36D3A #90C33A
monochromatic
#1E2765 #2C3A94 #3A4CC3 #6876D2 #97A1E0

Accessibility & contrast

On white

7.00
#3A4CC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#3A4CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4CC3
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4CC3#FFFFFF#000000##FFFFFF
##3A4CC31.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#0053C1
Tritanopia (blue-blind)
#006A80
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a4cc3;
/* rgb */ color: rgb(58, 76, 195);
/* oklch */ color: oklch(47.7% 0.186 270.9);
Tailwind
colors: {
  custom: {
    50: '#827ed6',
    500: '#3a4cc3',
    950: '#000000',
  },
}
SCSS
$custom: #3a4cc3;
$custom-light: #827ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4cc3",
  "rgb": {
    "r": 58,
    "g": 76,
    "b": 195
  },
  "hsl": {
    "h": 232.117,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47726,
    "c": 0.18552,
    "h": 270.9
  },
  "luminance": 0.10009
}

Semantic roles & 50–950 ramp

primary
#3A4CC3
secondary
#CCC38D
accent
#CA4ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A4CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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