#3A4CA2#3A4CA2

#3A4CA2 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.1% C 0.140 H 270.9°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#3A4CA2
RGBrgb(58, 76, 162)
HSLhsl(230, 47%, 43%)
HSVhsv(230, 64%, 64%)
CMYKcmyk(64.2%, 53.1%, 0%, 36.5%)
CIE-LABlab(35.35, 21.19, -48.83)
CIE-LCHlch(35.35, 53.23, 293.46°)
OKLaboklab(45.07% 0.0022 -0.1401)
OKLCHoklch(45.07% 0.14 270.9)
XYZxyz(10.8488, 8.6761, 35.2784)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4CA2 #A2903A
analogous
#3A80A2 #3A4CA2 #5C3AA2
triadic
#3A4CA2 #A23A4C #4CA23A
tetradic
#3A4CA2 #A23A80 #A2903A #3AA25C
square
#3A4CA2 #A23A80 #A2903A #3AA25C
split-complementary
#3A4CA2 #A25C3A #80A23A
monochromatic
#1A2248 #2A3775 #3A4CA2 #5769C3 #8491D3

Accessibility & contrast

On white

7.68
#3A4CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3A4CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4CA2
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4CA2#FFFFFF#000000##FFFFFF
##3A4CA21.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1758A5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a4ca2;
/* rgb */ color: rgb(58, 76, 162);
/* oklch */ color: oklch(45.1% 0.140 270.9);
Tailwind
colors: {
  custom: {
    50: '#7b7dbe',
    500: '#3a4ca2',
    950: '#000000',
  },
}
SCSS
$custom: #3a4ca2;
$custom-light: #7b7dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4ca2",
  "rgb": {
    "r": 58,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 229.615,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4507,
    "c": 0.14008,
    "h": 270.9
  },
  "luminance": 0.08677
}

Semantic roles & 50–950 ramp

primary
#3A4CA2
secondary
#BDB17B
accent
#C051D7
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3A4CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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