#3159BC#3159BC

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

Color values

HEX#3159BC
RGBrgb(49, 89, 188)
HSLhsl(223, 59%, 46%)
HSVhsv(223, 74%, 74%)
CMYKcmyk(73.9%, 52.7%, 0%, 26.3%)
CIE-LABlab(40.29, 20.88, -56.25)
CIE-LCHlch(40.29, 60.00, 290.36°)
OKLaboklab(49.27% -0.0154 -0.1619)
OKLCHoklch(49.27% 0.163 264.6)
XYZxyz(13.9129, 11.4271, 49.0396)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3159BC #BC9431
analogous
#319FBC #3159BC #4F31BC
triadic
#3159BC #BC3159 #59BC31
tetradic
#3159BC #BC319F #BC9431 #31BC4F
square
#3159BC #BC319F #BC9431 #31BC4F
split-complementary
#3159BC #BC4F31 #9FBC31
monochromatic
#182B5B #24428B #3159BC #577BD3 #88A1E0

Accessibility & contrast

On white

6.39
#3159BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3159BC
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3159BC#FFFFFF#000000##FFFFFF
##3159BC1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1466C0
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3159bc;
/* rgb */ color: rgb(49, 89, 188);
/* oklch */ color: oklch(49.3% 0.163 264.6);
Tailwind
colors: {
  custom: {
    50: '#7c87d1',
    500: '#3159bc',
    950: '#000000',
  },
}
SCSS
$custom: #3159bc;
$custom-light: #7c87d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3159bc",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 188
  },
  "hsl": {
    "h": 222.734,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49268,
    "c": 0.16263,
    "h": 264.6
  },
  "luminance": 0.11429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3159BC

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

Preview Lab → · Contrast checker → · Palette generator →

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