#3159AA#3159AA

#3159AA is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.9% C 0.138 H 262.6°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#3159AA
RGBrgb(49, 89, 170)
HSLhsl(220, 55%, 43%)
HSVhsv(220, 71%, 67%)
CMYKcmyk(71.2%, 47.6%, 0%, 33.3%)
CIE-LABlab(39.07, 14.11, -47.63)
CIE-LCHlch(39.07, 49.68, 286.50°)
OKLaboklab(47.95% -0.0177 -0.1365)
OKLCHoklch(47.95% 0.138 262.6)
XYZxyz(12.0921, 10.6987, 39.4502)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3159AA #AA8231
analogous
#3195AA #3159AA #4531AA
triadic
#3159AA #AA3159 #59AA31
tetradic
#3159AA #AA3195 #AA8231 #31AA45
square
#3159AA #AA3195 #AA8231 #31AA45
split-complementary
#3159AA #AA4531 #95AA31
monochromatic
#16274B #23407A #3159AA #4D77CC #7C9BD9

Accessibility & contrast

On white

6.69
#3159AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#3159AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3159AA#FFFFFF#000000##FFFFFF
##3159AA1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E62AD
Deuteranopia (green-blind)
#1157A8
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3159aa;
/* rgb */ color: rgb(49, 89, 170);
/* oklch */ color: oklch(47.9% 0.138 262.6);
Tailwind
colors: {
  custom: {
    50: '#7887c4',
    500: '#3159aa',
    950: '#000000',
  },
}
SCSS
$custom: #3159aa;
$custom-light: #7887c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3159aa",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 170
  },
  "hsl": {
    "h": 220.165,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47946,
    "c": 0.13768,
    "h": 262.6
  },
  "luminance": 0.107
}

Semantic roles & 50–950 ramp

primary
#3159AA
secondary
#C2A875
accent
#AD49DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3159AA

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

Preview Lab → · Contrast checker → · Palette generator →

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