#3147B2#3147B2

#3147B2 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.9% C 0.171 H 269.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#3147B2
RGBrgb(49, 71, 178)
HSLhsl(230, 57%, 45%)
HSVhsv(230, 72%, 70%)
CMYKcmyk(72.5%, 60.1%, 0%, 30.2%)
CIE-LABlab(34.75, 28.94, -59.37)
CIE-LCHlch(34.75, 66.05, 295.99°)
OKLaboklab(44.87% -0.002 -0.1713)
OKLCHoklch(44.87% 0.171 269.3)
XYZxyz(11.5530, 8.3726, 43.1181)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3147B2 #B29C31
analogous
#3188B2 #3147B2 #5B31B2
triadic
#3147B2 #B23147 #47B231
tetradic
#3147B2 #B23188 #B29C31 #31B25B
square
#3147B2 #B23188 #B29C31 #31B25B
split-complementary
#3147B2 #B25B31 #88B231
monochromatic
#172152 #243482 #3147B2 #5167CF #8191DC

Accessibility & contrast

On white

7.85
#3147B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3147B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3147B2
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3147B2#FFFFFF#000000##FFFFFF
##3147B21.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3147b2;
/* rgb */ color: rgb(49, 71, 178);
/* oklch */ color: oklch(44.9% 0.171 269.3);
Tailwind
colors: {
  custom: {
    50: '#7b7aca',
    500: '#3147b2',
    950: '#000000',
  },
}
SCSS
$custom: #3147b2;
$custom-light: #7b7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#3147b2",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 229.767,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44865,
    "c": 0.17136,
    "h": 269.3
  },
  "luminance": 0.08374
}

Semantic roles & 50–950 ramp

primary
#3147B2
secondary
#C5B879
accent
#C648E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3147B2

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

Preview Lab → · Contrast checker → · Palette generator →

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