#3A4ACA#3A4ACA

#3A4ACA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.0% C 0.197 H 271.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#3A4ACA
RGBrgb(58, 74, 202)
HSLhsl(233, 58%, 51%)
HSVhsv(233, 71%, 79%)
CMYKcmyk(71.3%, 63.4%, 0%, 20.8%)
CIE-LABlab(37.95, 36.76, -68.20)
CIE-LCHlch(37.95, 77.47, 298.33°)
OKLaboklab(47.98% 0.0042 -0.197)
OKLCHoklch(47.98% 0.197 271.2)
XYZxyz(14.8508, 10.0599, 57.0248)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4ACA #CABA3A
analogous
#3A92CA #3A4ACA #723ACA
triadic
#3A4ACA #CA3A4A #4ACA3A
tetradic
#3A4ACA #CA3A92 #CABA3A #3ACA72
square
#3A4ACA #CA3A92 #CABA3A #3ACA72
split-complementary
#3A4ACA #CA723A #92CA3A
monochromatic
#1D266C #2A379D #3A4ACA #6A76D7 #9AA3E4

Accessibility & contrast

On white

6.97
#3A4ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3A4ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4ACA
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4ACA#FFFFFF#000000##FFFFFF
##3A4ACA1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0053C8
Tritanopia (blue-blind)
#006B83
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a4aca;
/* rgb */ color: rgb(58, 74, 202);
/* oklch */ color: oklch(48.0% 0.197 271.2);
Tailwind
colors: {
  custom: {
    50: '#847cdb',
    500: '#3a4aca',
    950: '#000000',
  },
}
SCSS
$custom: #3a4aca;
$custom-light: #847cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4aca",
  "rgb": {
    "r": 58,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 233.333,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47975,
    "c": 0.19705,
    "h": 271.2
  },
  "luminance": 0.10061
}

Semantic roles & 50–950 ramp

primary
#3A4ACA
secondary
#D0C990
accent
#D047E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3A4ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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