#3A4BBA#3A4BBA

#3A4BBA is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.8% C 0.175 H 271.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#3A4BBA
RGBrgb(58, 75, 186)
HSLhsl(232, 52%, 48%)
HSVhsv(232, 69%, 73%)
CMYKcmyk(68.8%, 59.7%, 0%, 27.1%)
CIE-LABlab(36.88, 30.46, -60.59)
CIE-LCHlch(36.88, 67.82, 296.69°)
OKLaboklab(46.78% 0.0039 -0.1747)
OKLCHoklch(46.78% 0.175 271.3)
XYZxyz(13.1209, 9.4756, 47.5824)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4BBA #BAA93A
analogous
#3A8BBA #3A4BBA #693ABA
triadic
#3A4BBA #BA3A4B #4BBA3A
tetradic
#3A4BBA #BA3A8B #BAA93A #3ABA69
square
#3A4BBA #BA3A8B #BAA93A #3ABA69
split-complementary
#3A4BBA #BA693A #8BBA3A
monochromatic
#1D255D #2B388B #3A4BBA #6371CE #929CDD

Accessibility & contrast

On white

7.25
#3A4BBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A4BBA
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4BBA#FFFFFF#000000##FFFFFF
##3A4BBA1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a4bba;
/* rgb */ color: rgb(58, 75, 186);
/* oklch */ color: oklch(46.8% 0.175 271.3);
Tailwind
colors: {
  custom: {
    50: '#807dd0',
    500: '#3a4bba',
    950: '#000000',
  },
}
SCSS
$custom: #3a4bba;
$custom-light: #807dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4bba",
  "rgb": {
    "r": 58,
    "g": 75,
    "b": 186
  },
  "hsl": {
    "h": 232.031,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46781,
    "c": 0.17472,
    "h": 271.3
  },
  "luminance": 0.09477
}

Semantic roles & 50–950 ramp

primary
#3A4BBA
secondary
#C8BF88
accent
#C94CDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3A4BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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