#3159CF#3159CF

#3159CF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.8% C 0.188 H 265.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#3159CF
RGBrgb(49, 89, 207)
HSLhsl(225, 62%, 50%)
HSVhsv(225, 76%, 81%)
CMYKcmyk(76.3%, 57%, 0%, 18.8%)
CIE-LABlab(41.69, 27.97, -65.00)
CIE-LCHlch(41.69, 70.76, 293.28°)
OKLaboklab(50.77% -0.0141 -0.1876)
OKLCHoklch(50.77% 0.188 265.7)
XYZxyz(16.0975, 12.3009, 60.5453)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3159CF #CFA731
analogous
#31A8CF #3159CF #5831CF
triadic
#3159CF #CF3159 #59CF31
tetradic
#3159CF #CF31A8 #CFA731 #31CF58
square
#3159CF #CF31A8 #CFA731 #31CF58
split-complementary
#3159CF #CF5831 #A8CF31
monochromatic
#192E6C #25439E #3159CF #6381DB #94A9E6

Accessibility & contrast

On white

6.07
#3159CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#3159CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3159CF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3159CF#FFFFFF#000000##FFFFFF
##3159CF1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#005BCD
Tritanopia (blue-blind)
#00768B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3159cf;
/* rgb */ color: rgb(49, 89, 207);
/* oklch */ color: oklch(50.8% 0.188 265.7);
Tailwind
colors: {
  custom: {
    50: '#8087df',
    500: '#3159cf',
    950: '#000000',
  },
}
SCSS
$custom: #3159cf;
$custom-light: #8087df;
$custom-dark: #000000;
JSON
{
  "hex": "#3159cf",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 207
  },
  "hsl": {
    "h": 224.81,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50765,
    "c": 0.18815,
    "h": 265.7
  },
  "luminance": 0.12303
}

Semantic roles & 50–950 ramp

primary
#3159CF
secondary
#D1BF8B
accent
#BC43E5
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3159CF

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

Preview Lab → · Contrast checker → · Palette generator →

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