#3159C0#3159C0

#3159C0 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.6% C 0.168 H 264.9°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#3159C0
RGBrgb(49, 89, 192)
HSLhsl(223, 59%, 47%)
HSVhsv(223, 74%, 75%)
CMYKcmyk(74.5%, 53.6%, 0%, 24.7%)
CIE-LABlab(40.58, 22.38, -58.12)
CIE-LCHlch(40.58, 62.28, 291.06°)
OKLaboklab(49.58% -0.0151 -0.1674)
OKLCHoklch(49.58% 0.168 264.9)
XYZxyz(14.3501, 11.6019, 51.3421)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3159C0 #C09831
analogous
#31A0C0 #3159C0 #5131C0
triadic
#3159C0 #C03159 #59C031
tetradic
#3159C0 #C031A0 #C09831 #31C051
square
#3159C0 #C031A0 #C09831 #31C051
split-complementary
#3159C0 #C05131 #A0C031
monochromatic
#182C5E #25428F #3159C0 #597CD5 #8AA3E1

Accessibility & contrast

On white

6.32
#3159C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#3159C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3159C0#FFFFFF#000000##FFFFFF
##3159C01.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0667C4
Deuteranopia (green-blind)
#0059BE
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3159c0;
/* rgb */ color: rgb(49, 89, 192);
/* oklch */ color: oklch(49.6% 0.168 264.9);
Tailwind
colors: {
  custom: {
    50: '#7d87d4',
    500: '#3159c0',
    950: '#000000',
  },
}
SCSS
$custom: #3159c0;
$custom-light: #7d87d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3159c0",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 192
  },
  "hsl": {
    "h": 223.217,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49575,
    "c": 0.16809,
    "h": 264.9
  },
  "luminance": 0.11603
}

Semantic roles & 50–950 ramp

primary
#3159C0
secondary
#CBB782
accent
#B745E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3159C0

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

Preview Lab → · Contrast checker → · Palette generator →

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