#3159BB#3159BB

#3159BB is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.2% C 0.161 H 264.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#3159BB
RGBrgb(49, 89, 187)
HSLhsl(223, 58%, 46%)
HSVhsv(223, 74%, 73%)
CMYKcmyk(73.8%, 52.4%, 0%, 26.7%)
CIE-LABlab(40.22, 20.50, -55.78)
CIE-LCHlch(40.22, 59.43, 290.18°)
OKLaboklab(49.19% -0.0155 -0.1605)
OKLCHoklch(49.19% 0.161 264.5)
XYZxyz(13.8055, 11.3841, 48.4738)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3159BB #BB9331
analogous
#319EBB #3159BB #4E31BB
triadic
#3159BB #BB3159 #59BB31
tetradic
#3159BB #BB319E #BB9331 #31BB4E
square
#3159BB #BB319E #BB9331 #31BB4E
split-complementary
#3159BB #BB4E31 #9EBB31
monochromatic
#182B5A #24428B #3159BB #567AD3 #87A1E0

Accessibility & contrast

On white

6.41
#3159BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3159BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3159BB
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3159BB#FFFFFF#000000##FFFFFF
##3159BB1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1665BE
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3159bb;
/* rgb */ color: rgb(49, 89, 187);
/* oklch */ color: oklch(49.2% 0.161 264.5);
Tailwind
colors: {
  custom: {
    50: '#7c87d0',
    500: '#3159bb',
    950: '#000000',
  },
}
SCSS
$custom: #3159bb;
$custom-light: #7c87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3159bb",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 222.609,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49192,
    "c": 0.16127,
    "h": 264.5
  },
  "luminance": 0.11386
}

Semantic roles & 50–950 ramp

primary
#3159BB
secondary
#C9B47F
accent
#B546E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3159BB

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

Preview Lab → · Contrast checker → · Palette generator →

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