#3159A3#3159A3

#3159A3 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.5% C 0.128 H 261.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#3159A3
RGBrgb(49, 89, 163)
HSLhsl(219, 54%, 42%)
HSVhsv(219, 70%, 64%)
CMYKcmyk(69.9%, 45.4%, 0%, 36.1%)
CIE-LABlab(38.62, 11.48, -44.19)
CIE-LCHlch(38.62, 45.66, 284.56°)
OKLaboklab(47.46% -0.0189 -0.1264)
OKLCHoklch(47.46% 0.128 261.5)
XYZxyz(11.4475, 10.4409, 36.0552)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3159A3 #A37B31
analogous
#3192A3 #3159A3 #4231A3
triadic
#3159A3 #A33159 #59A331
tetradic
#3159A3 #A33192 #A37B31 #31A342
square
#3159A3 #A33192 #A37B31 #31A342
split-complementary
#3159A3 #A34231 #92A331
monochromatic
#152645 #233F74 #3159A3 #4976C8 #7899D6

Accessibility & contrast

On white

6.80
#3159A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3159A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3159A3
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3159A3#FFFFFF#000000##FFFFFF
##3159A31.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3461A6
Deuteranopia (green-blind)
#1F56A1
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3159a3;
/* rgb */ color: rgb(49, 89, 163);
/* oklch */ color: oklch(47.5% 0.128 261.5);
Tailwind
colors: {
  custom: {
    50: '#7787bf',
    500: '#3159a3',
    950: '#000000',
  },
}
SCSS
$custom: #3159a3;
$custom-light: #7787bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3159a3",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 163
  },
  "hsl": {
    "h": 218.947,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47459,
    "c": 0.12781,
    "h": 261.5
  },
  "luminance": 0.10442
}

Semantic roles & 50–950 ramp

primary
#3159A3
secondary
#BFA371
accent
#AA4BDD
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3159A3

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

Preview Lab → · Contrast checker → · Palette generator →

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