#3147AC#3147AC

#3147AC is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.163 H 269.3°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#3147AC
RGBrgb(49, 71, 172)
HSLhsl(229, 56%, 43%)
HSVhsv(229, 72%, 67%)
CMYKcmyk(71.5%, 58.7%, 0%, 32.5%)
CIE-LABlab(34.27, 26.73, -56.59)
CIE-LCHlch(34.27, 62.59, 295.28°)
OKLaboklab(44.36% -0.0021 -0.1632)
OKLCHoklch(44.36% 0.163 269.3)
XYZxyz(10.9637, 8.1369, 40.0145)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3147AC #AC9631
analogous
#3184AC #3147AC #5831AC
triadic
#3147AC #AC3147 #47AC31
tetradic
#3147AC #AC3184 #AC9631 #31AC58
square
#3147AC #AC3184 #AC9631 #31AC58
split-complementary
#3147AC #AC5831 #84AC31
monochromatic
#16204D #23337C #3147AC #4E64CC #7D8EDA

Accessibility & contrast

On white

7.99
#3147AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3147AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3147AC
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3147AC#FFFFFF#000000##FFFFFF
##3147AC1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3147ac;
/* rgb */ color: rgb(49, 71, 172);
/* oklch */ color: oklch(44.4% 0.163 269.3);
Tailwind
colors: {
  custom: {
    50: '#7a7ac6',
    500: '#3147ac',
    950: '#000000',
  },
}
SCSS
$custom: #3147ac;
$custom-light: #7a7ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#3147ac",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 229.268,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44357,
    "c": 0.16318,
    "h": 269.3
  },
  "luminance": 0.08138
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3147AC

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

Preview Lab → · Contrast checker → · Palette generator →

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