#3A4ABE#3A4ABE

#3A4ABE is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.9% C 0.181 H 271.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#3A4ABE
RGBrgb(58, 74, 190)
HSLhsl(233, 53%, 49%)
HSVhsv(233, 69%, 75%)
CMYKcmyk(69.5%, 61.1%, 0%, 25.5%)
CIE-LABlab(36.95, 32.53, -62.82)
CIE-LCHlch(36.95, 70.75, 297.37°)
OKLaboklab(46.93% 0.0047 -0.1812)
OKLCHoklch(46.93% 0.181 271.5)
XYZxyz(13.4848, 9.5135, 49.8308)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4ABE #BEAE3A
analogous
#3A8CBE #3A4ABE #6C3ABE
triadic
#3A4ABE #BE3A4A #4ABE3A
tetradic
#3A4ABE #BE3A8C #BEAE3A #3ABE6C
square
#3A4ABE #BE3A8C #BEAE3A #3ABE6C
split-complementary
#3A4ABE #BE6C3A #8CBE3A
monochromatic
#1D2560 #2C388F #3A4ABE #6572D0 #949DDE

Accessibility & contrast

On white

7.23
#3A4ABE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3A4ABE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4ABE
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4ABE#FFFFFF#000000##FFFFFF
##3A4ABE1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#0051BC
Tritanopia (blue-blind)
#00677D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a4abe;
/* rgb */ color: rgb(58, 74, 190);
/* oklch */ color: oklch(46.9% 0.181 271.5);
Tailwind
colors: {
  custom: {
    50: '#817cd3',
    500: '#3a4abe',
    950: '#000000',
  },
}
SCSS
$custom: #3a4abe;
$custom-light: #817cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4abe",
  "rgb": {
    "r": 58,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 232.727,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46933,
    "c": 0.1813,
    "h": 271.5
  },
  "luminance": 0.09515
}

Semantic roles & 50–950 ramp

primary
#3A4ABE
secondary
#CAC28A
accent
#CB4BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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