#3A4ABF#3A4ABF

#3A4ABF is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.0% C 0.183 H 271.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#3A4ABF
RGBrgb(58, 74, 191)
HSLhsl(233, 53%, 49%)
HSVhsv(233, 70%, 75%)
CMYKcmyk(69.6%, 61.3%, 0%, 25.1%)
CIE-LABlab(37.04, 32.88, -63.28)
CIE-LCHlch(37.04, 71.31, 297.46°)
OKLaboklab(47.02% 0.0046 -0.1826)
OKLCHoklch(47.02% 0.183 271.5)
XYZxyz(13.5945, 9.5574, 50.4084)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4ABF #BFAF3A
analogous
#3A8DBF #3A4ABF #6D3ABF
triadic
#3A4ABF #BF3A4A #4ABF3A
tetradic
#3A4ABF #BF3A8D #BFAF3A #3ABF6D
square
#3A4ABF #BF3A8D #BFAF3A #3ABF6D
split-complementary
#3A4ABF #BF6D3A #8DBF3A
monochromatic
#1D2661 #2C3890 #3A4ABF #6673D0 #959EDF

Accessibility & contrast

On white

7.21
#3A4ABF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3A4ABF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4ABF
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4ABF#FFFFFF#000000##FFFFFF
##3A4ABF1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#0051BD
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a4abf;
/* rgb */ color: rgb(58, 74, 191);
/* oklch */ color: oklch(47.0% 0.183 271.5);
Tailwind
colors: {
  custom: {
    50: '#817cd3',
    500: '#3a4abf',
    950: '#000000',
  },
}
SCSS
$custom: #3a4abf;
$custom-light: #817cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4abf",
  "rgb": {
    "r": 58,
    "g": 74,
    "b": 191
  },
  "hsl": {
    "h": 232.782,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47019,
    "c": 0.18263,
    "h": 271.5
  },
  "luminance": 0.09559
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A4ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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