#3A4ACB#3A4ACB

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

Color values

HEX#3A4ACB
RGBrgb(58, 74, 203)
HSLhsl(233, 58%, 51%)
HSVhsv(233, 71%, 80%)
CMYKcmyk(71.4%, 63.5%, 0%, 20.4%)
CIE-LABlab(38.03, 37.11, -68.64)
CIE-LCHlch(38.03, 78.03, 298.40°)
OKLaboklab(48.06% 0.0042 -0.1983)
OKLCHoklch(48.06% 0.198 271.2)
XYZxyz(14.9695, 10.1074, 57.6503)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4ACB #CBBB3A
analogous
#3A92CB #3A4ACB #723ACB
triadic
#3A4ACB #CB3A4A #4ACB3A
tetradic
#3A4ACB #CB3A92 #CBBB3A #3ACB72
square
#3A4ACB #CB3A92 #CBBB3A #3ACB72
split-complementary
#3A4ACB #CB723A #92CB3A
monochromatic
#1D266E #2A379E #3A4ACB #6A76D8 #9BA3E5

Accessibility & contrast

On white

6.95
#3A4ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#3A4ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4ACB
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4ACB#FFFFFF#000000##FFFFFF
##3A4ACB1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0053C9
Tritanopia (blue-blind)
#006C84
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3a4acb;
/* rgb */ color: rgb(58, 74, 203);
/* oklch */ color: oklch(48.1% 0.198 271.2);
Tailwind
colors: {
  custom: {
    50: '#847cdc',
    500: '#3a4acb',
    950: '#000000',
  },
}
SCSS
$custom: #3a4acb;
$custom-light: #847cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4acb",
  "rgb": {
    "r": 58,
    "g": 74,
    "b": 203
  },
  "hsl": {
    "h": 233.379,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48063,
    "c": 0.19833,
    "h": 271.2
  },
  "luminance": 0.10109
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A4ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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