#3159A1#3159A1

#3159A1 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.3% C 0.125 H 261.1°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#3159A1
RGBrgb(49, 89, 161)
HSLhsl(219, 53%, 41%)
HSVhsv(219, 70%, 63%)
CMYKcmyk(69.6%, 44.7%, 0%, 36.9%)
CIE-LABlab(38.50, 10.73, -43.20)
CIE-LCHlch(38.50, 44.51, 283.95°)
OKLaboklab(47.32% -0.0193 -0.1235)
OKLCHoklch(47.32% 0.125 261.1)
XYZxyz(11.2697, 10.3698, 35.1189)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3159A1 #A17931
analogous
#3191A1 #3159A1 #4131A1
triadic
#3159A1 #A13159 #59A131
tetradic
#3159A1 #A13191 #A17931 #31A141
square
#3159A1 #A13191 #A17931 #31A141
split-complementary
#3159A1 #A14131 #91A131
monochromatic
#142543 #233F72 #3159A1 #4875C7 #7799D6

Accessibility & contrast

On white

6.83
#3159A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3159A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3159A1
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3159A1#FFFFFF#000000##FFFFFF
##3159A11.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3660A4
Deuteranopia (green-blind)
#2256A0
Tritanopia (blue-blind)
#006A75
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3159a1;
/* rgb */ color: rgb(49, 89, 161);
/* oklch */ color: oklch(47.3% 0.125 261.1);
Tailwind
colors: {
  custom: {
    50: '#7687bd',
    500: '#3159a1',
    950: '#000000',
  },
}
SCSS
$custom: #3159a1;
$custom-light: #7687bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3159a1",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 161
  },
  "hsl": {
    "h": 218.571,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47323,
    "c": 0.12498,
    "h": 261.1
  },
  "luminance": 0.10371
}

Semantic roles & 50–950 ramp

primary
#3159A1
secondary
#BEA270
accent
#A94BDD
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #3159A1

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

Preview Lab → · Contrast checker → · Palette generator →

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