#3159A9#3159A9

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

Color values

HEX#3159A9
RGBrgb(49, 89, 169)
HSLhsl(220, 55%, 43%)
HSVhsv(220, 71%, 66%)
CMYKcmyk(71%, 47.3%, 0%, 33.7%)
CIE-LABlab(39.00, 13.73, -47.15)
CIE-LCHlch(39.00, 49.11, 286.24°)
OKLaboklab(47.88% -0.0179 -0.1351)
OKLCHoklch(47.88% 0.136 262.5)
XYZxyz(11.9979, 10.6611, 38.9539)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3159A9 #A98131
analogous
#3195A9 #3159A9 #4531A9
triadic
#3159A9 #A93159 #59A931
tetradic
#3159A9 #A93195 #A98131 #31A945
square
#3159A9 #A93195 #A98131 #31A945
split-complementary
#3159A9 #A94531 #95A931
monochromatic
#15274A #23407A #3159A9 #4C76CB #7C9BD9

Accessibility & contrast

On white

6.70
#3159A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3159A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3159A9#FFFFFF#000000##FFFFFF
##3159A91.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F62AC
Deuteranopia (green-blind)
#1457A7
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3159a9;
/* rgb */ color: rgb(49, 89, 169);
/* oklch */ color: oklch(47.9% 0.136 262.5);
Tailwind
colors: {
  custom: {
    50: '#7887c3',
    500: '#3159a9',
    950: '#000000',
  },
}
SCSS
$custom: #3159a9;
$custom-light: #7887c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3159a9",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 169
  },
  "hsl": {
    "h": 220,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47875,
    "c": 0.13629,
    "h": 262.5
  },
  "luminance": 0.10662
}

Semantic roles & 50–950 ramp

primary
#3159A9
secondary
#C1A874
accent
#AD49DE
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3159A9

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

Preview Lab → · Contrast checker → · Palette generator →

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