#3A47B8#3A47B8

#3A47B8 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.9% C 0.177 H 272.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#3A47B8
RGBrgb(58, 71, 184)
HSLhsl(234, 52%, 47%)
HSVhsv(234, 68%, 72%)
CMYKcmyk(68.5%, 61.4%, 0%, 27.8%)
CIE-LABlab(35.72, 32.31, -61.31)
CIE-LCHlch(35.72, 69.30, 297.79°)
OKLaboklab(45.87% 0.0071 -0.1768)
OKLCHoklch(45.87% 0.177 272.3)
XYZxyz(12.6470, 8.8655, 46.3828)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A47B8 #B8AB3A
analogous
#3A86B8 #3A47B8 #6C3AB8
triadic
#3A47B8 #B83A47 #47B83A
tetradic
#3A47B8 #B83A86 #B8AB3A #3AB86C
square
#3A47B8 #B83A86 #B8AB3A #3AB86C
split-complementary
#3A47B8 #B86C3A #86B83A
monochromatic
#1D235B #2B3589 #3A47B8 #626DCD #9098DC

Accessibility & contrast

On white

7.57
#3A47B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3A47B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A47B8
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A47B8#FFFFFF#000000##FFFFFF
##3A47B81.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#004EB6
Tritanopia (blue-blind)
#006378
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a47b8;
/* rgb */ color: rgb(58, 71, 184);
/* oklch */ color: oklch(45.9% 0.177 272.3);
Tailwind
colors: {
  custom: {
    50: '#807ace',
    500: '#3a47b8',
    950: '#000000',
  },
}
SCSS
$custom: #3a47b8;
$custom-light: #807ace;
$custom-dark: #000000;
JSON
{
  "hex": "#3a47b8",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 184
  },
  "hsl": {
    "h": 233.81,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45872,
    "c": 0.17695,
    "h": 272.3
  },
  "luminance": 0.08867
}

Semantic roles & 50–950 ramp

primary
#3A47B8
secondary
#C7C087
accent
#CD4CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3A47B8

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

Preview Lab → · Contrast checker → · Palette generator →

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