#3147B4#3147B4

#3147B4 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.174 H 269.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#3147B4
RGBrgb(49, 71, 180)
HSLhsl(230, 57%, 45%)
HSVhsv(230, 73%, 71%)
CMYKcmyk(72.8%, 60.6%, 0%, 29.4%)
CIE-LABlab(34.91, 29.68, -60.29)
CIE-LCHlch(34.91, 67.20, 296.21°)
OKLaboklab(45.04% -0.002 -0.174)
OKLCHoklch(45.04% 0.174 269.3)
XYZxyz(11.7552, 8.4535, 44.1833)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3147B4 #B49E31
analogous
#3188B4 #3147B4 #5D31B4
triadic
#3147B4 #B43147 #47B431
tetradic
#3147B4 #B43188 #B49E31 #31B45D
square
#3147B4 #B43188 #B49E31 #31B45D
split-complementary
#3147B4 #B45D31 #88B431
monochromatic
#172154 #243484 #3147B4 #5267D0 #8292DD

Accessibility & contrast

On white

7.80
#3147B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3147B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3147B4
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3147B4#FFFFFF#000000##FFFFFF
##3147B41.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#004CB2
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3147b4;
/* rgb */ color: rgb(49, 71, 180);
/* oklch */ color: oklch(45.0% 0.174 269.3);
Tailwind
colors: {
  custom: {
    50: '#7b7acb',
    500: '#3147b4',
    950: '#000000',
  },
}
SCSS
$custom: #3147b4;
$custom-light: #7b7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3147b4",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 180
  },
  "hsl": {
    "h": 229.924,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45037,
    "c": 0.17405,
    "h": 269.3
  },
  "luminance": 0.08455
}

Semantic roles & 50–950 ramp

primary
#3147B4
secondary
#C6BA7B
accent
#C747E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3147B4

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

Preview Lab → · Contrast checker → · Palette generator →

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