#3146BC#3146BC

#3146BC is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.6% C 0.186 H 269.5°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#3146BC
RGBrgb(49, 70, 188)
HSLhsl(231, 59%, 46%)
HSVhsv(231, 74%, 74%)
CMYKcmyk(73.9%, 62.8%, 0%, 26.3%)
CIE-LABlab(35.33, 33.24, -64.33)
CIE-LCHlch(35.33, 72.41, 297.33°)
OKLaboklab(45.55% -0.0015 -0.1859)
OKLCHoklch(45.55% 0.186 269.5)
XYZxyz(12.5308, 8.6628, 48.5789)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3146BC #BCA731
analogous
#318CBC #3146BC #6231BC
triadic
#3146BC #BC3146 #46BC31
tetradic
#3146BC #BC318C #BCA731 #31BC62
square
#3146BC #BC318C #BCA731 #31BC62
split-complementary
#3146BC #BC6231 #8CBC31
monochromatic
#18225B #24348B #3146BC #576AD3 #8895E0

Accessibility & contrast

On white

7.68
#3146BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3146BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3146BC
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3146BC#FFFFFF#000000##FFFFFF
##3146BC1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3146bc;
/* rgb */ color: rgb(49, 70, 188);
/* oklch */ color: oklch(45.6% 0.186 269.5);
Tailwind
colors: {
  custom: {
    50: '#7d79d1',
    500: '#3146bc',
    950: '#000000',
  },
}
SCSS
$custom: #3146bc;
$custom-light: #7d79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3146bc",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 230.935,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45552,
    "c": 0.18591,
    "h": 269.5
  },
  "luminance": 0.08664
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3146BC

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

Preview Lab → · Contrast checker → · Palette generator →

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