#3A4CBF#3A4CBF

#3A4CBF is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.4% C 0.180 H 271.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#3A4CBF
RGBrgb(58, 76, 191)
HSLhsl(232, 53%, 49%)
HSVhsv(232, 70%, 75%)
CMYKcmyk(69.6%, 60.2%, 0%, 25.1%)
CIE-LABlab(37.53, 31.60, -62.47)
CIE-LCHlch(37.53, 70.01, 296.84°)
OKLaboklab(47.39% 0.0031 -0.1802)
OKLCHoklch(47.39% 0.18 271)
XYZxyz(13.7301, 9.8287, 50.4537)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4CBF #BFAD3A
analogous
#3A8FBF #3A4CBF #6B3ABF
triadic
#3A4CBF #BF3A4C #4CBF3A
tetradic
#3A4CBF #BF3A8F #BFAD3A #3ABF6B
square
#3A4CBF #BF3A8F #BFAD3A #3ABF6B
split-complementary
#3A4CBF #BF6B3A #8FBF3A
monochromatic
#1D2761 #2C3990 #3A4CBF #6674D0 #959FDF

Accessibility & contrast

On white

7.08
#3A4CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#3A4CBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4CBF
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4CBF#FFFFFF#000000##FFFFFF
##3A4CBF1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0052BD
Tritanopia (blue-blind)
#00697E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a4cbf;
/* rgb */ color: rgb(58, 76, 191);
/* oklch */ color: oklch(47.4% 0.180 271.0);
Tailwind
colors: {
  custom: {
    50: '#817ed3',
    500: '#3a4cbf',
    950: '#000000',
  },
}
SCSS
$custom: #3a4cbf;
$custom-light: #817ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4cbf",
  "rgb": {
    "r": 58,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 231.88,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47387,
    "c": 0.1802,
    "h": 271
  },
  "luminance": 0.0983
}

Semantic roles & 50–950 ramp

primary
#3A4CBF
secondary
#CAC18B
accent
#C94BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A4CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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