#3159AE#3159AE

#3159AE is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.2% C 0.143 H 263.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#3159AE
RGBrgb(49, 89, 174)
HSLhsl(221, 56%, 44%)
HSVhsv(221, 72%, 68%)
CMYKcmyk(71.8%, 48.9%, 0%, 31.8%)
CIE-LABlab(39.33, 15.61, -49.58)
CIE-LCHlch(39.33, 51.98, 287.48°)
OKLaboklab(48.23% -0.0171 -0.1423)
OKLCHoklch(48.23% 0.143 263.1)
XYZxyz(12.4763, 10.8524, 41.4734)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3159AE #AE8631
analogous
#3197AE #3159AE #4731AE
triadic
#3159AE #AE3159 #59AE31
tetradic
#3159AE #AE3197 #AE8631 #31AE47
square
#3159AE #AE3197 #AE8631 #31AE47
split-complementary
#3159AE #AE4731 #97AE31
monochromatic
#16284E #24417E #3159AE #4F77CD #7F9CDB

Accessibility & contrast

On white

6.62
#3159AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3159AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3159AE
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3159AE#FFFFFF#000000##FFFFFF
##3159AE1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A63B1
Deuteranopia (green-blind)
#0357AC
Tritanopia (blue-blind)
#006D7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3159ae;
/* rgb */ color: rgb(49, 89, 174);
/* oklch */ color: oklch(48.2% 0.143 263.1);
Tailwind
colors: {
  custom: {
    50: '#7987c7',
    500: '#3159ae',
    950: '#000000',
  },
}
SCSS
$custom: #3159ae;
$custom-light: #7987c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3159ae",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 174
  },
  "hsl": {
    "h": 220.8,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48231,
    "c": 0.1433,
    "h": 263.1
  },
  "luminance": 0.10854
}

Semantic roles & 50–950 ramp

primary
#3159AE
secondary
#C4AB77
accent
#AF48DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3159AE

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

Preview Lab → · Contrast checker → · Palette generator →

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