#3147BC#3147BC

#3147BC is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.185 H 269.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#3147BC
RGBrgb(49, 71, 188)
HSLhsl(231, 59%, 46%)
HSVhsv(231, 74%, 74%)
CMYKcmyk(73.9%, 62.2%, 0%, 26.3%)
CIE-LABlab(35.57, 32.60, -63.92)
CIE-LCHlch(35.57, 71.76, 297.02°)
OKLaboklab(45.74% -0.0021 -0.1847)
OKLCHoklch(45.74% 0.185 269.3)
XYZxyz(12.5938, 8.7890, 48.5999)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3147BC #BCA631
analogous
#318DBC #3147BC #6131BC
triadic
#3147BC #BC3147 #47BC31
tetradic
#3147BC #BC318D #BCA631 #31BC61
square
#3147BC #BC318D #BCA631 #31BC61
split-complementary
#3147BC #BC6131 #8DBC31
monochromatic
#18225B #24358B #3147BC #576BD3 #8896E0

Accessibility & contrast

On white

7.61
#3147BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3147BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3147BC
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3147BC#FFFFFF#000000##FFFFFF
##3147BC1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3147bc;
/* rgb */ color: rgb(49, 71, 188);
/* oklch */ color: oklch(45.7% 0.185 269.3);
Tailwind
colors: {
  custom: {
    50: '#7d7ad1',
    500: '#3147bc',
    950: '#000000',
  },
}
SCSS
$custom: #3147bc;
$custom-light: #7d7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#3147bc",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 230.504,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45735,
    "c": 0.18471,
    "h": 269.3
  },
  "luminance": 0.0879
}

Semantic roles & 50–950 ramp

primary
#3147BC
secondary
#CABE7F
accent
#C946E2
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #3147BC

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

Preview Lab → · Contrast checker → · Palette generator →

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