#3159BD#3159BD

#3159BD is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.3% C 0.164 H 264.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#3159BD
RGBrgb(49, 89, 189)
HSLhsl(223, 59%, 47%)
HSVhsv(223, 74%, 74%)
CMYKcmyk(74.1%, 52.9%, 0%, 25.9%)
CIE-LABlab(40.36, 21.25, -56.72)
CIE-LCHlch(40.36, 60.57, 290.54°)
OKLaboklab(49.34% -0.0153 -0.1633)
OKLCHoklch(49.34% 0.164 264.6)
XYZxyz(14.0211, 11.4703, 49.6093)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3159BD #BD9531
analogous
#319FBD #3159BD #4F31BD
triadic
#3159BD #BD3159 #59BD31
tetradic
#3159BD #BD319F #BD9531 #31BD4F
square
#3159BD #BD319F #BD9531 #31BD4F
split-complementary
#3159BD #BD4F31 #9FBD31
monochromatic
#182B5C #24428C #3159BD #587BD4 #88A1E0

Accessibility & contrast

On white

6.37
#3159BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#3159BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3159BD
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3159BD#FFFFFF#000000##FFFFFF
##3159BD1.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1166C1
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3159bd;
/* rgb */ color: rgb(49, 89, 189);
/* oklch */ color: oklch(49.3% 0.164 264.6);
Tailwind
colors: {
  custom: {
    50: '#7c87d2',
    500: '#3159bd',
    950: '#000000',
  },
}
SCSS
$custom: #3159bd;
$custom-light: #7c87d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3159bd",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 189
  },
  "hsl": {
    "h": 222.857,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49344,
    "c": 0.164,
    "h": 264.6
  },
  "luminance": 0.11472
}

Semantic roles & 50–950 ramp

primary
#3159BD
secondary
#CAB580
accent
#B546E2
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3159BD

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

Preview Lab → · Contrast checker → · Palette generator →

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