#3147AB#3147AB

#3147AB is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.162 H 269.2°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#3147AB
RGBrgb(49, 71, 171)
HSLhsl(229, 55%, 43%)
HSVhsv(229, 71%, 67%)
CMYKcmyk(71.3%, 58.5%, 0%, 32.9%)
CIE-LABlab(34.19, 26.36, -56.12)
CIE-LCHlch(34.19, 62.00, 295.16°)
OKLaboklab(44.27% -0.0021 -0.1618)
OKLCHoklch(44.27% 0.162 269.2)
XYZxyz(10.8680, 8.0986, 39.5106)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3147AB #AB9531
analogous
#3184AB #3147AB #5831AB
triadic
#3147AB #AB3147 #47AB31
tetradic
#3147AB #AB3184 #AB9531 #31AB58
square
#3147AB #AB3184 #AB9531 #31AB58
split-complementary
#3147AB #AB5831 #84AB31
monochromatic
#161F4C #23337B #3147AB #4D64CC #7D8DDA

Accessibility & contrast

On white

8.02
#3147AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3147AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3147AB
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3147AB#FFFFFF#000000##FFFFFF
##3147AB1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3147ab;
/* rgb */ color: rgb(49, 71, 171);
/* oklch */ color: oklch(44.3% 0.162 269.2);
Tailwind
colors: {
  custom: {
    50: '#797ac5',
    500: '#3147ab',
    950: '#000000',
  },
}
SCSS
$custom: #3147ab;
$custom-light: #797ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3147ab",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 171
  },
  "hsl": {
    "h": 229.18,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44273,
    "c": 0.16181,
    "h": 269.2
  },
  "luminance": 0.081
}

Semantic roles & 50–950 ramp

primary
#3147AB
secondary
#C2B475
accent
#C449DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3147AB

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

Preview Lab → · Contrast checker → · Palette generator →

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