#3147B8#3147B8

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

Color values

HEX#3147B8
RGBrgb(49, 71, 184)
HSLhsl(230, 58%, 46%)
HSVhsv(230, 73%, 72%)
CMYKcmyk(73.4%, 61.4%, 0%, 27.8%)
CIE-LABlab(35.24, 31.14, -62.12)
CIE-LCHlch(35.24, 69.49, 296.63°)
OKLaboklab(45.38% -0.0021 -0.1794)
OKLCHoklch(45.38% 0.179 269.3)
XYZxyz(12.1686, 8.6189, 46.3604)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3147B8 #B8A231
analogous
#318AB8 #3147B8 #5E31B8
triadic
#3147B8 #B83147 #47B831
tetradic
#3147B8 #B8318A #B8A231 #31B85E
square
#3147B8 #B8318A #B8A231 #31B85E
split-complementary
#3147B8 #B85E31 #8AB831
monochromatic
#172257 #243488 #3147B8 #5569D2 #8594DE

Accessibility & contrast

On white

7.71
#3147B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3147B8
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3147B8#FFFFFF#000000##FFFFFF
##3147B81.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3147b8;
/* rgb */ color: rgb(49, 71, 184);
/* oklch */ color: oklch(45.4% 0.179 269.3);
Tailwind
colors: {
  custom: {
    50: '#7c7ace',
    500: '#3147b8',
    950: '#000000',
  },
}
SCSS
$custom: #3147b8;
$custom-light: #7c7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#3147b8",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 184
  },
  "hsl": {
    "h": 230.222,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45384,
    "c": 0.17941,
    "h": 269.3
  },
  "luminance": 0.0862
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3147B8

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

Preview Lab → · Contrast checker → · Palette generator →

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