#3159B8#3159B8

#3159B8 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.0% C 0.157 H 264.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#3159B8
RGBrgb(49, 89, 184)
HSLhsl(222, 58%, 46%)
HSVhsv(222, 73%, 72%)
CMYKcmyk(73.4%, 51.6%, 0%, 27.8%)
CIE-LABlab(40.01, 19.37, -54.37)
CIE-LCHlch(40.01, 57.72, 289.61°)
OKLaboklab(48.97% -0.0159 -0.1563)
OKLCHoklch(48.97% 0.157 264.2)
XYZxyz(13.4877, 11.2570, 46.8001)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3159B8 #B89031
analogous
#319CB8 #3159B8 #4C31B8
triadic
#3159B8 #B83159 #59B831
tetradic
#3159B8 #B8319C #B89031 #31B84C
square
#3159B8 #B8319C #B89031 #31B84C
split-complementary
#3159B8 #B84C31 #9CB831
monochromatic
#172A57 #244288 #3159B8 #557AD2 #859FDE

Accessibility & contrast

On white

6.46
#3159B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#3159B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3159B8
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3159B8#FFFFFF#000000##FFFFFF
##3159B81.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C65BB
Deuteranopia (green-blind)
#0058B6
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3159b8;
/* rgb */ color: rgb(49, 89, 184);
/* oklch */ color: oklch(49.0% 0.157 264.2);
Tailwind
colors: {
  custom: {
    50: '#7b87ce',
    500: '#3159b8',
    950: '#000000',
  },
}
SCSS
$custom: #3159b8;
$custom-light: #7b87ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3159b8",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 184
  },
  "hsl": {
    "h": 222.222,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48965,
    "c": 0.15715,
    "h": 264.2
  },
  "luminance": 0.11258
}

Semantic roles & 50–950 ramp

primary
#3159B8
secondary
#C8B27D
accent
#B347E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3159B8

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

Preview Lab → · Contrast checker → · Palette generator →

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