#3159B9#3159B9

#3159B9 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.0% C 0.159 H 264.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#3159B9
RGBrgb(49, 89, 185)
HSLhsl(222, 58%, 46%)
HSVhsv(222, 74%, 73%)
CMYKcmyk(73.5%, 51.9%, 0%, 27.5%)
CIE-LABlab(40.08, 19.75, -54.84)
CIE-LCHlch(40.08, 58.29, 289.81°)
OKLaboklab(49.04% -0.0157 -0.1577)
OKLCHoklch(49.04% 0.159 264.3)
XYZxyz(13.5929, 11.2990, 47.3541)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3159B9 #B99131
analogous
#319DB9 #3159B9 #4D31B9
triadic
#3159B9 #B93159 #59B931
tetradic
#3159B9 #B9319D #B99131 #31B94D
square
#3159B9 #B9319D #B99131 #31B94D
split-complementary
#3159B9 #B94D31 #9DB931
monochromatic
#172A58 #244289 #3159B9 #557AD2 #86A0DF

Accessibility & contrast

On white

6.44
#3159B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#3159B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3159B9
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3159B9#FFFFFF#000000##FFFFFF
##3159B91.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A65BC
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3159b9;
/* rgb */ color: rgb(49, 89, 185);
/* oklch */ color: oklch(49.0% 0.159 264.3);
Tailwind
colors: {
  custom: {
    50: '#7b87cf',
    500: '#3159b9',
    950: '#000000',
  },
}
SCSS
$custom: #3159b9;
$custom-light: #7b87cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3159b9",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 185
  },
  "hsl": {
    "h": 222.353,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49041,
    "c": 0.15853,
    "h": 264.3
  },
  "luminance": 0.11301
}

Semantic roles & 50–950 ramp

primary
#3159B9
secondary
#C8B27D
accent
#B446E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3159B9

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

Preview Lab → · Contrast checker → · Palette generator →

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