#3A4BBE#3A4BBE

#3A4BBE is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.1% C 0.180 H 271.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#3A4BBE
RGBrgb(58, 75, 190)
HSLhsl(232, 53%, 49%)
HSVhsv(232, 69%, 75%)
CMYKcmyk(69.5%, 60.5%, 0%, 25.5%)
CIE-LABlab(37.20, 31.89, -62.42)
CIE-LCHlch(37.20, 70.09, 297.06°)
OKLaboklab(47.12% 0.0039 -0.18)
OKLCHoklch(47.12% 0.18 271.2)
XYZxyz(13.5521, 9.6481, 49.8533)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4BBE #BEAD3A
analogous
#3A8DBE #3A4BBE #6B3ABE
triadic
#3A4BBE #BE3A4B #4BBE3A
tetradic
#3A4BBE #BE3A8D #BEAD3A #3ABE6B
square
#3A4BBE #BE3A8D #BEAD3A #3ABE6B
split-complementary
#3A4BBE #BE6B3A #8DBE3A
monochromatic
#1D2660 #2C388F #3A4BBE #6573D0 #949EDE

Accessibility & contrast

On white

7.17
#3A4BBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#3A4BBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4BBE
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4BBE#FFFFFF#000000##FFFFFF
##3A4BBE1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#0052BC
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a4bbe;
/* rgb */ color: rgb(58, 75, 190);
/* oklch */ color: oklch(47.1% 0.180 271.2);
Tailwind
colors: {
  custom: {
    50: '#817dd2',
    500: '#3a4bbe',
    950: '#000000',
  },
}
SCSS
$custom: #3a4bbe;
$custom-light: #817dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4bbe",
  "rgb": {
    "r": 58,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 232.273,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47117,
    "c": 0.18008,
    "h": 271.2
  },
  "luminance": 0.09649
}

Semantic roles & 50–950 ramp

primary
#3A4BBE
secondary
#CAC18A
accent
#CA4BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A4BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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