#3159AC#3159AC

#3159AC is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.1% C 0.140 H 262.9°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#3159AC
RGBrgb(49, 89, 172)
HSLhsl(220, 56%, 43%)
HSVhsv(220, 72%, 67%)
CMYKcmyk(71.5%, 48.3%, 0%, 32.5%)
CIE-LABlab(39.20, 14.86, -48.61)
CIE-LCHlch(39.20, 50.83, 287.00°)
OKLaboklab(48.09% -0.0174 -0.1394)
OKLCHoklch(48.09% 0.14 262.9)
XYZxyz(12.2828, 10.7750, 40.4542)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3159AC #AC8431
analogous
#3196AC #3159AC #4631AC
triadic
#3159AC #AC3159 #59AC31
tetradic
#3159AC #AC3196 #AC8431 #31AC46
square
#3159AC #AC3196 #AC8431 #31AC46
split-complementary
#3159AC #AC4631 #96AC31
monochromatic
#16284D #23407C #3159AC #4E77CC #7D9BDA

Accessibility & contrast

On white

6.66
#3159AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3159AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3159AC
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3159AC#FFFFFF#000000##FFFFFF
##3159AC1.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C62AF
Deuteranopia (green-blind)
#0B57AA
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3159ac;
/* rgb */ color: rgb(49, 89, 172);
/* oklch */ color: oklch(48.1% 0.140 262.9);
Tailwind
colors: {
  custom: {
    50: '#7987c5',
    500: '#3159ac',
    950: '#000000',
  },
}
SCSS
$custom: #3159ac;
$custom-light: #7987c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3159ac",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 172
  },
  "hsl": {
    "h": 220.488,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48087,
    "c": 0.14049,
    "h": 262.9
  },
  "luminance": 0.10776
}

Semantic roles & 50–950 ramp

primary
#3159AC
secondary
#C3AA76
accent
#AE49DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3159AC

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

Preview Lab → · Contrast checker → · Palette generator →

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