#3147BA#3147BA

#3147BA is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.6% C 0.182 H 269.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#3147BA
RGBrgb(49, 71, 186)
HSLhsl(230, 58%, 46%)
HSVhsv(230, 74%, 73%)
CMYKcmyk(73.7%, 61.8%, 0%, 27.1%)
CIE-LABlab(35.41, 31.87, -63.02)
CIE-LCHlch(35.41, 70.62, 296.83°)
OKLaboklab(45.56% -0.0021 -0.1821)
OKLCHoklch(45.56% 0.182 269.3)
XYZxyz(12.3797, 8.7033, 47.4723)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3147BA #BAA431
analogous
#318BBA #3147BA #5F31BA
triadic
#3147BA #BA3147 #47BA31
tetradic
#3147BA #BA318B #BAA431 #31BA5F
square
#3147BA #BA318B #BAA431 #31BA5F
split-complementary
#3147BA #BA5F31 #8BBA31
monochromatic
#172259 #24358A #3147BA #566AD2 #8695DF

Accessibility & contrast

On white

7.66
#3147BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3147BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3147BA
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3147BA#FFFFFF#000000##FFFFFF
##3147BA1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3147ba;
/* rgb */ color: rgb(49, 71, 186);
/* oklch */ color: oklch(45.6% 0.182 269.3);
Tailwind
colors: {
  custom: {
    50: '#7d7ad0',
    500: '#3147ba',
    950: '#000000',
  },
}
SCSS
$custom: #3147ba;
$custom-light: #7d7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#3147ba",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 230.365,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45559,
    "c": 0.18207,
    "h": 269.3
  },
  "luminance": 0.08705
}

Semantic roles & 50–950 ramp

primary
#3147BA
secondary
#C9BD7E
accent
#C946E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3147BA

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

Preview Lab → · Contrast checker → · Palette generator →

#3147BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva