#3159B5#3159B5

#3159B5 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.7% C 0.153 H 263.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#3159B5
RGBrgb(49, 89, 181)
HSLhsl(222, 57%, 45%)
HSVhsv(222, 73%, 71%)
CMYKcmyk(72.9%, 50.8%, 0%, 29%)
CIE-LABlab(39.80, 18.25, -52.94)
CIE-LCHlch(39.80, 56.00, 289.02°)
OKLaboklab(48.74% -0.0162 -0.1522)
OKLCHoklch(48.74% 0.153 263.9)
XYZxyz(13.1765, 11.1325, 45.1615)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3159B5 #B58D31
analogous
#319BB5 #3159B5 #4B31B5
triadic
#3159B5 #B53159 #59B531
tetradic
#3159B5 #B5319B #B58D31 #31B54B
square
#3159B5 #B5319B #B58D31 #31B54B
split-complementary
#3159B5 #B54B31 #9BB531
monochromatic
#172A55 #244185 #3159B5 #5379D0 #839EDD

Accessibility & contrast

On white

6.51
#3159B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#3159B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3159B5
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3159B5#FFFFFF#000000##FFFFFF
##3159B51.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2164B8
Deuteranopia (green-blind)
#0058B3
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3159b5;
/* rgb */ color: rgb(49, 89, 181);
/* oklch */ color: oklch(48.7% 0.153 263.9);
Tailwind
colors: {
  custom: {
    50: '#7b87cc',
    500: '#3159b5',
    950: '#000000',
  },
}
SCSS
$custom: #3159b5;
$custom-light: #7b87cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3159b5",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 181
  },
  "hsl": {
    "h": 221.818,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48742,
    "c": 0.15302,
    "h": 263.9
  },
  "luminance": 0.11134
}

Semantic roles & 50–950 ramp

primary
#3159B5
secondary
#C7B07B
accent
#B247E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3159B5

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

Preview Lab → · Contrast checker → · Palette generator →

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