#3159AD#3159AD

#3159AD is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.2% C 0.142 H 263.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#3159AD
RGBrgb(49, 89, 173)
HSLhsl(221, 56%, 44%)
HSVhsv(221, 72%, 68%)
CMYKcmyk(71.7%, 48.6%, 0%, 32.2%)
CIE-LABlab(39.26, 15.24, -49.09)
CIE-LCHlch(39.26, 51.40, 287.24°)
OKLaboklab(48.16% -0.0173 -0.1408)
OKLCHoklch(48.16% 0.142 263)
XYZxyz(12.3791, 10.8136, 40.9619)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3159AD #AD8531
analogous
#3197AD #3159AD #4731AD
triadic
#3159AD #AD3159 #59AD31
tetradic
#3159AD #AD3197 #AD8531 #31AD47
square
#3159AD #AD3197 #AD8531 #31AD47
split-complementary
#3159AD #AD4731 #97AD31
monochromatic
#16284E #23407D #3159AD #4E77CD #7E9CDA

Accessibility & contrast

On white

6.64
#3159AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3159AD
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3159AD#FFFFFF#000000##FFFFFF
##3159AD1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B63B0
Deuteranopia (green-blind)
#0757AB
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3159ad;
/* rgb */ color: rgb(49, 89, 173);
/* oklch */ color: oklch(48.2% 0.142 263.0);
Tailwind
colors: {
  custom: {
    50: '#7987c6',
    500: '#3159ad',
    950: '#000000',
  },
}
SCSS
$custom: #3159ad;
$custom-light: #7987c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3159ad",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 173
  },
  "hsl": {
    "h": 220.645,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48159,
    "c": 0.14189,
    "h": 263
  },
  "luminance": 0.10815
}

Semantic roles & 50–950 ramp

primary
#3159AD
secondary
#C3AB77
accent
#AF49DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3159AD

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

Preview Lab → · Contrast checker → · Palette generator →

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