#3146B8#3146B8

#3146B8 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.2% C 0.181 H 269.6°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#3146B8
RGBrgb(49, 70, 184)
HSLhsl(231, 58%, 46%)
HSVhsv(231, 73%, 72%)
CMYKcmyk(73.4%, 62%, 0%, 27.8%)
CIE-LABlab(34.99, 31.79, -62.53)
CIE-LCHlch(34.99, 70.14, 296.95°)
OKLaboklab(45.2% -0.0014 -0.1806)
OKLCHoklch(45.2% 0.181 269.6)
XYZxyz(12.1055, 8.4927, 46.3394)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3146B8 #B8A331
analogous
#3189B8 #3146B8 #6031B8
triadic
#3146B8 #B83146 #46B831
tetradic
#3146B8 #B83189 #B8A331 #31B860
square
#3146B8 #B83189 #B8A331 #31B860
split-complementary
#3146B8 #B86031 #89B831
monochromatic
#172157 #243488 #3146B8 #5568D2 #8593DE

Accessibility & contrast

On white

7.78
#3146B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3146B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3146B8
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3146B8#FFFFFF#000000##FFFFFF
##3146B81.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)
#0059BC
Deuteranopia (green-blind)
#004CB6
Tritanopia (blue-blind)
#006378
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3146b8;
/* rgb */ color: rgb(49, 70, 184);
/* oklch */ color: oklch(45.2% 0.181 269.6);
Tailwind
colors: {
  custom: {
    50: '#7c79ce',
    500: '#3146b8',
    950: '#000000',
  },
}
SCSS
$custom: #3146b8;
$custom-light: #7c79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3146b8",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 184
  },
  "hsl": {
    "h": 230.667,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45198,
    "c": 0.18062,
    "h": 269.6
  },
  "luminance": 0.08494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3146B8

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

Preview Lab → · Contrast checker → · Palette generator →

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