#3159C3#3159C3

#3159C3 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.8% C 0.172 H 265.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#3159C3
RGBrgb(49, 89, 195)
HSLhsl(224, 60%, 48%)
HSVhsv(224, 75%, 76%)
CMYKcmyk(74.9%, 54.4%, 0%, 23.5%)
CIE-LABlab(40.79, 23.50, -59.52)
CIE-LCHlch(40.79, 63.99, 291.55°)
OKLaboklab(49.81% -0.0148 -0.1715)
OKLCHoklch(49.81% 0.172 265.1)
XYZxyz(14.6859, 11.7362, 53.1105)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3159C3 #C39B31
analogous
#31A2C3 #3159C3 #5231C3
triadic
#3159C3 #C33159 #59C331
tetradic
#3159C3 #C331A2 #C39B31 #31C352
square
#3159C3 #C331A2 #C39B31 #31C352
split-complementary
#3159C3 #C35231 #A2C331
monochromatic
#182C61 #254392 #3159C3 #5B7DD6 #8CA4E2

Accessibility & contrast

On white

6.27
#3159C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3159C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3159C3#FFFFFF#000000##FFFFFF
##3159C31.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C7
Deuteranopia (green-blind)
#005AC1
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3159c3;
/* rgb */ color: rgb(49, 89, 195);
/* oklch */ color: oklch(49.8% 0.172 265.1);
Tailwind
colors: {
  custom: {
    50: '#7e87d6',
    500: '#3159c3',
    950: '#000000',
  },
}
SCSS
$custom: #3159c3;
$custom-light: #7e87d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3159c3",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 195
  },
  "hsl": {
    "h": 223.562,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49808,
    "c": 0.17214,
    "h": 265.1
  },
  "luminance": 0.11738
}

Semantic roles & 50–950 ramp

primary
#3159C3
secondary
#CCB883
accent
#B845E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3159C3

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

Preview Lab → · Contrast checker → · Palette generator →

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