#3147B7#3147B7

#3147B7 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.178 H 269.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#3147B7
RGBrgb(49, 71, 183)
HSLhsl(230, 58%, 45%)
HSVhsv(230, 73%, 72%)
CMYKcmyk(73.2%, 61.2%, 0%, 28.2%)
CIE-LABlab(35.16, 30.78, -61.66)
CIE-LCHlch(35.16, 68.92, 296.52°)
OKLaboklab(45.3% -0.002 -0.1781)
OKLCHoklch(45.3% 0.178 269.3)
XYZxyz(12.0642, 8.5771, 45.8103)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3147B7 #B7A131
analogous
#318AB7 #3147B7 #5E31B7
triadic
#3147B7 #B73147 #47B731
tetradic
#3147B7 #B7318A #B7A131 #31B75E
square
#3147B7 #B7318A #B7A131 #31B75E
split-complementary
#3147B7 #B75E31 #8AB731
monochromatic
#172256 #243487 #3147B7 #5469D1 #8493DE

Accessibility & contrast

On white

7.73
#3147B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3147B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3147B7
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3147B7#FFFFFF#000000##FFFFFF
##3147B71.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#004DB5
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3147b7;
/* rgb */ color: rgb(49, 71, 183);
/* oklch */ color: oklch(45.3% 0.178 269.3);
Tailwind
colors: {
  custom: {
    50: '#7c7ace',
    500: '#3147b7',
    950: '#000000',
  },
}
SCSS
$custom: #3147b7;
$custom-light: #7c7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#3147b7",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 183
  },
  "hsl": {
    "h": 230.149,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45297,
    "c": 0.17808,
    "h": 269.3
  },
  "luminance": 0.08578
}

Semantic roles & 50–950 ramp

primary
#3147B7
secondary
#C8BB7C
accent
#C847E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3147B7

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

Preview Lab → · Contrast checker → · Palette generator →

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