#3159AB#3159AB

#3159AB is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.0% C 0.139 H 262.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#3159AB
RGBrgb(49, 89, 171)
HSLhsl(220, 55%, 43%)
HSVhsv(220, 71%, 67%)
CMYKcmyk(71.3%, 48%, 0%, 32.9%)
CIE-LABlab(39.13, 14.49, -48.12)
CIE-LCHlch(39.13, 50.26, 286.75°)
OKLaboklab(48.02% -0.0176 -0.138)
OKLCHoklch(48.02% 0.139 262.7)
XYZxyz(12.1871, 10.7367, 39.9503)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3159AB #AB8331
analogous
#3196AB #3159AB #4631AB
triadic
#3159AB #AB3159 #59AB31
tetradic
#3159AB #AB3196 #AB8331 #31AB46
square
#3159AB #AB3196 #AB8331 #31AB46
split-complementary
#3159AB #AB4631 #96AB31
monochromatic
#16274C #23407B #3159AB #4D77CC #7D9BDA

Accessibility & contrast

On white

6.67
#3159AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3159AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3159AB
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3159AB#FFFFFF#000000##FFFFFF
##3159AB1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D62AE
Deuteranopia (green-blind)
#0E57A9
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3159ab;
/* rgb */ color: rgb(49, 89, 171);
/* oklch */ color: oklch(48.0% 0.139 262.7);
Tailwind
colors: {
  custom: {
    50: '#7887c4',
    500: '#3159ab',
    950: '#000000',
  },
}
SCSS
$custom: #3159ab;
$custom-light: #7887c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3159ab",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 171
  },
  "hsl": {
    "h": 220.328,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48016,
    "c": 0.13909,
    "h": 262.7
  },
  "luminance": 0.10738
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3159AB

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

Preview Lab → · Contrast checker → · Palette generator →

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