#3159C8#3159C8

#3159C8 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.2% C 0.179 H 265.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#3159C8
RGBrgb(49, 89, 200)
HSLhsl(224, 61%, 49%)
HSVhsv(224, 76%, 78%)
CMYKcmyk(75.5%, 55.5%, 0%, 21.6%)
CIE-LABlab(41.16, 25.37, -61.82)
CIE-LCHlch(41.16, 66.82, 292.31°)
OKLaboklab(50.2% -0.0145 -0.1783)
OKLCHoklch(50.2% 0.179 265.4)
XYZxyz(15.2607, 11.9662, 56.1378)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3159C8 #C8A031
analogous
#31A5C8 #3159C8 #5531C8
triadic
#3159C8 #C83159 #59C831
tetradic
#3159C8 #C831A5 #C8A031 #31C855
square
#3159C8 #C831A5 #C8A031 #31C855
split-complementary
#3159C8 #C85531 #A5C831
monochromatic
#192D66 #254397 #3159C8 #5F7FD8 #90A6E4

Accessibility & contrast

On white

6.19
#3159C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#3159C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3159C8#FFFFFF#000000##FFFFFF
##3159C81.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#005AC6
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3159c8;
/* rgb */ color: rgb(49, 89, 200);
/* oklch */ color: oklch(50.2% 0.179 265.4);
Tailwind
colors: {
  custom: {
    50: '#7f87d9',
    500: '#3159c8',
    950: '#000000',
  },
}
SCSS
$custom: #3159c8;
$custom-light: #7f87d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3159c8",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 200
  },
  "hsl": {
    "h": 224.106,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50202,
    "c": 0.17886,
    "h": 265.4
  },
  "luminance": 0.11968
}

Semantic roles & 50–950 ramp

primary
#3159C8
secondary
#CEBB86
accent
#B944E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3159C8

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

Preview Lab → · Contrast checker → · Palette generator →

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