#3A4BC5#3A4BC5

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

Color values

HEX#3A4BC5
RGBrgb(58, 75, 197)
HSLhsl(233, 55%, 50%)
HSVhsv(233, 71%, 77%)
CMYKcmyk(70.6%, 61.9%, 0%, 22.7%)
CIE-LABlab(37.77, 34.37, -65.58)
CIE-LCHlch(37.77, 74.04, 297.66°)
OKLaboklab(47.72% 0.0037 -0.1893)
OKLCHoklch(47.72% 0.189 271.1)
XYZxyz(14.3356, 9.9615, 53.9798)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4BC5 #C5B43A
analogous
#3A90C5 #3A4BC5 #6F3AC5
triadic
#3A4BC5 #C53A4B #4BC53A
tetradic
#3A4BC5 #C53A90 #C5B43A #3AC56F
square
#3A4BC5 #C53A90 #C5B43A #3AC56F
split-complementary
#3A4BC5 #C56F3A #90C53A
monochromatic
#1E2766 #2C3996 #3A4BC5 #6976D3 #99A1E1

Accessibility & contrast

On white

7.02
#3A4BC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3A4BC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4BC5
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4BC5#FFFFFF#000000##FFFFFF
##3A4BC51.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#0053C3
Tritanopia (blue-blind)
#006A81
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a4bc5;
/* rgb */ color: rgb(58, 75, 197);
/* oklch */ color: oklch(47.7% 0.189 271.1);
Tailwind
colors: {
  custom: {
    50: '#827dd8',
    500: '#3a4bc5',
    950: '#000000',
  },
}
SCSS
$custom: #3a4bc5;
$custom-light: #827dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4bc5",
  "rgb": {
    "r": 58,
    "g": 75,
    "b": 197
  },
  "hsl": {
    "h": 232.662,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.47716,
    "c": 0.18935,
    "h": 271.1
  },
  "luminance": 0.09963
}

Semantic roles & 50–950 ramp

primary
#3A4BC5
secondary
#CDC58E
accent
#CC4ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3A4BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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