#3147AE#3147AE

#3147AE is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.166 H 269.3°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#3147AE
RGBrgb(49, 71, 174)
HSLhsl(229, 56%, 44%)
HSVhsv(229, 72%, 68%)
CMYKcmyk(71.8%, 59.2%, 0%, 31.8%)
CIE-LABlab(34.43, 27.47, -57.52)
CIE-LCHlch(34.43, 63.74, 295.52°)
OKLaboklab(44.53% -0.0021 -0.1659)
OKLCHoklch(44.53% 0.166 269.3)
XYZxyz(11.1572, 8.2143, 41.0337)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3147AE #AE9831
analogous
#3185AE #3147AE #5931AE
triadic
#3147AE #AE3147 #47AE31
tetradic
#3147AE #AE3185 #AE9831 #31AE59
square
#3147AE #AE3185 #AE9831 #31AE59
split-complementary
#3147AE #AE5931 #85AE31
monochromatic
#16204E #24347E #3147AE #4F65CD #7F8FDB

Accessibility & contrast

On white

7.95
#3147AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3147AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3147AE
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3147AE#FFFFFF#000000##FFFFFF
##3147AE1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3147ae;
/* rgb */ color: rgb(49, 71, 174);
/* oklch */ color: oklch(44.5% 0.166 269.3);
Tailwind
colors: {
  custom: {
    50: '#7a7ac7',
    500: '#3147ae',
    950: '#000000',
  },
}
SCSS
$custom: #3147ae;
$custom-light: #7a7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#3147ae",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 174
  },
  "hsl": {
    "h": 229.44,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44525,
    "c": 0.16592,
    "h": 269.3
  },
  "luminance": 0.08215
}

Semantic roles & 50–950 ramp

primary
#3147AE
secondary
#C4B677
accent
#C548DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3147AE

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

Preview Lab → · Contrast checker → · Palette generator →

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