#3147B5#3147B5

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

Color values

HEX#3147B5
RGBrgb(49, 71, 181)
HSLhsl(230, 57%, 45%)
HSVhsv(230, 73%, 71%)
CMYKcmyk(72.9%, 60.8%, 0%, 29%)
CIE-LABlab(34.99, 30.04, -60.75)
CIE-LCHlch(34.99, 67.77, 296.31°)
OKLaboklab(45.12% -0.002 -0.1754)
OKLCHoklch(45.12% 0.175 269.3)
XYZxyz(11.8575, 8.4944, 44.7218)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3147B5 #B59F31
analogous
#3189B5 #3147B5 #5D31B5
triadic
#3147B5 #B53147 #47B531
tetradic
#3147B5 #B53189 #B59F31 #31B55D
square
#3147B5 #B53189 #B59F31 #31B55D
split-complementary
#3147B5 #B55D31 #89B531
monochromatic
#172155 #243485 #3147B5 #5368D0 #8392DD

Accessibility & contrast

On white

7.78
#3147B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3147B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3147B5
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3147B5#FFFFFF#000000##FFFFFF
##3147B51.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#004CB3
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3147b5;
/* rgb */ color: rgb(49, 71, 181);
/* oklch */ color: oklch(45.1% 0.175 269.3);
Tailwind
colors: {
  custom: {
    50: '#7c7acc',
    500: '#3147b5',
    950: '#000000',
  },
}
SCSS
$custom: #3147b5;
$custom-light: #7c7acc;
$custom-dark: #000000;
JSON
{
  "hex": "#3147b5",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 181
  },
  "hsl": {
    "h": 230,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45123,
    "c": 0.1754,
    "h": 269.3
  },
  "luminance": 0.08496
}

Semantic roles & 50–950 ramp

primary
#3147B5
secondary
#C7BA7B
accent
#C747E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3147B5

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

Preview Lab → · Contrast checker → · Palette generator →

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