#3A47B6#3A47B6

#3A47B6 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.174 H 272.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#3A47B6
RGBrgb(58, 71, 182)
HSLhsl(234, 52%, 47%)
HSVhsv(234, 68%, 71%)
CMYKcmyk(68.1%, 61%, 0%, 28.6%)
CIE-LABlab(35.56, 31.60, -60.39)
CIE-LCHlch(35.56, 68.16, 297.62°)
OKLaboklab(45.7% 0.0072 -0.1741)
OKLCHoklch(45.7% 0.174 272.4)
XYZxyz(12.4388, 8.7823, 45.2865)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A47B6 #B6A93A
analogous
#3A85B6 #3A47B6 #6B3AB6
triadic
#3A47B6 #B63A47 #47B63A
tetradic
#3A47B6 #B63A85 #B6A93A #3AB66B
square
#3A47B6 #B63A85 #B6A93A #3AB66B
split-complementary
#3A47B6 #B66B3A #85B63A
monochromatic
#1C2359 #2B3588 #3A47B6 #616CCD #8F97DB

Accessibility & contrast

On white

7.62
#3A47B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3A47B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A47B6
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A47B6#FFFFFF#000000##FFFFFF
##3A47B61.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a47b6;
/* rgb */ color: rgb(58, 71, 182);
/* oklch */ color: oklch(45.7% 0.174 272.4);
Tailwind
colors: {
  custom: {
    50: '#807acd',
    500: '#3a47b6',
    950: '#000000',
  },
}
SCSS
$custom: #3a47b6;
$custom-light: #807acd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a47b6",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 182
  },
  "hsl": {
    "h": 233.71,
    "s": 51.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45702,
    "c": 0.17428,
    "h": 272.4
  },
  "luminance": 0.08783
}

Semantic roles & 50–950 ramp

primary
#3A47B6
secondary
#C6BF86
accent
#CC4DDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3A47B6

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

Preview Lab → · Contrast checker → · Palette generator →

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