#3159B3#3159B3

#3159B3 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.6% C 0.150 H 263.7°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#3159B3
RGBrgb(49, 89, 179)
HSLhsl(222, 57%, 45%)
HSVhsv(222, 73%, 70%)
CMYKcmyk(72.6%, 50.3%, 0%, 29.8%)
CIE-LABlab(39.67, 17.49, -51.99)
CIE-LCHlch(39.67, 54.85, 288.60°)
OKLaboklab(48.59% -0.0164 -0.1493)
OKLCHoklch(48.59% 0.15 263.7)
XYZxyz(12.9728, 11.0510, 44.0885)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3159B3 #B38B31
analogous
#319AB3 #3159B3 #4A31B3
triadic
#3159B3 #B33159 #59B331
tetradic
#3159B3 #B3319A #B38B31 #31B34A
square
#3159B3 #B3319A #B38B31 #31B34A
split-complementary
#3159B3 #B34A31 #9AB331
monochromatic
#172953 #244183 #3159B3 #5278D0 #829EDD

Accessibility & contrast

On white

6.54
#3159B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#3159B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3159B3
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3159B3#FFFFFF#000000##FFFFFF
##3159B31.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2464B6
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3159b3;
/* rgb */ color: rgb(49, 89, 179);
/* oklch */ color: oklch(48.6% 0.150 263.7);
Tailwind
colors: {
  custom: {
    50: '#7a87ca',
    500: '#3159b3',
    950: '#000000',
  },
}
SCSS
$custom: #3159b3;
$custom-light: #7a87ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3159b3",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 179
  },
  "hsl": {
    "h": 221.538,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48594,
    "c": 0.15025,
    "h": 263.7
  },
  "luminance": 0.11052
}

Semantic roles & 50–950 ramp

primary
#3159B3
secondary
#C6AE7A
accent
#B148E0
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3159B3

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

Preview Lab → · Contrast checker → · Palette generator →

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