#3159B0#3159B0

#3159B0 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.4% C 0.146 H 263.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#3159B0
RGBrgb(49, 89, 176)
HSLhsl(221, 56%, 44%)
HSVhsv(221, 72%, 69%)
CMYKcmyk(72.2%, 49.4%, 0%, 31%)
CIE-LABlab(39.46, 16.37, -50.55)
CIE-LCHlch(39.46, 53.13, 287.94°)
OKLaboklab(48.38% -0.0168 -0.1451)
OKLCHoklch(48.38% 0.146 263.4)
XYZxyz(12.6727, 10.9310, 42.5079)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3159B0 #B08831
analogous
#3199B0 #3159B0 #4931B0
triadic
#3159B0 #B03159 #59B031
tetradic
#3159B0 #B03199 #B08831 #31B049
square
#3159B0 #B03199 #B08831 #31B049
split-complementary
#3159B0 #B04931 #99B031
monochromatic
#162950 #244180 #3159B0 #5078CE #809DDC

Accessibility & contrast

On white

6.59
#3159B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3159B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3159B0
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3159B0#FFFFFF#000000##FFFFFF
##3159B01.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2863B3
Deuteranopia (green-blind)
#0057AE
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3159b0;
/* rgb */ color: rgb(49, 89, 176);
/* oklch */ color: oklch(48.4% 0.146 263.4);
Tailwind
colors: {
  custom: {
    50: '#7987c8',
    500: '#3159b0',
    950: '#000000',
  },
}
SCSS
$custom: #3159b0;
$custom-light: #7987c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3159b0",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 176
  },
  "hsl": {
    "h": 221.102,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48375,
    "c": 0.14608,
    "h": 263.4
  },
  "luminance": 0.10932
}

Semantic roles & 50–950 ramp

primary
#3159B0
secondary
#C5AD78
accent
#B048E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3159B0

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

Preview Lab → · Contrast checker → · Palette generator →

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