#3159A8#3159A8

#3159A8 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.8% C 0.135 H 262.3°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#3159A8
RGBrgb(49, 89, 168)
HSLhsl(220, 55%, 43%)
HSVhsv(220, 71%, 66%)
CMYKcmyk(70.8%, 47%, 0%, 34.1%)
CIE-LABlab(38.94, 13.36, -46.66)
CIE-LCHlch(38.94, 48.53, 285.98°)
OKLaboklab(47.81% -0.018 -0.1337)
OKLCHoklch(47.81% 0.135 262.3)
XYZxyz(11.9044, 10.6236, 38.4614)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3159A8 #A88031
analogous
#3195A8 #3159A8 #4431A8
triadic
#3159A8 #A83159 #59A831
tetradic
#3159A8 #A83195 #A88031 #31A844
square
#3159A8 #A83195 #A88031 #31A844
split-complementary
#3159A8 #A84431 #95A831
monochromatic
#152749 #234079 #3159A8 #4C76CB #7B9AD8

Accessibility & contrast

On white

6.72
#3159A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3159A8#FFFFFF#000000##FFFFFF
##3159A81.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3062AB
Deuteranopia (green-blind)
#1657A6
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3159a8;
/* rgb */ color: rgb(49, 89, 168);
/* oklch */ color: oklch(47.8% 0.135 262.3);
Tailwind
colors: {
  custom: {
    50: '#7887c2',
    500: '#3159a8',
    950: '#000000',
  },
}
SCSS
$custom: #3159a8;
$custom-light: #7887c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3159a8",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 168
  },
  "hsl": {
    "h": 219.832,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47805,
    "c": 0.13488,
    "h": 262.3
  },
  "luminance": 0.10625
}

Semantic roles & 50–950 ramp

primary
#3159A8
secondary
#C1A774
accent
#AC4ADE
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3159A8

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

Preview Lab → · Contrast checker → · Palette generator →

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