#3159CA#3159CA

#3159CA is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.4% C 0.182 H 265.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#3159CA
RGBrgb(49, 89, 202)
HSLhsl(224, 61%, 49%)
HSVhsv(224, 76%, 79%)
CMYKcmyk(75.7%, 55.9%, 0%, 20.8%)
CIE-LABlab(41.31, 26.11, -62.73)
CIE-LCHlch(41.31, 67.95, 292.60°)
OKLaboklab(50.36% -0.0144 -0.1809)
OKLCHoklch(50.36% 0.182 265.5)
XYZxyz(15.4959, 12.0603, 57.3768)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3159CA #CAA231
analogous
#31A6CA #3159CA #5631CA
triadic
#3159CA #CA3159 #59CA31
tetradic
#3159CA #CA31A6 #CAA231 #31CA56
square
#3159CA #CA31A6 #CAA231 #31CA56
split-complementary
#3159CA #CA5631 #A6CA31
monochromatic
#192E67 #254399 #3159CA #607FD8 #91A7E4

Accessibility & contrast

On white

6.15
#3159CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#3159CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3159CA
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3159CA#FFFFFF#000000##FFFFFF
##3159CA1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3159ca;
/* rgb */ color: rgb(49, 89, 202);
/* oklch */ color: oklch(50.4% 0.182 265.5);
Tailwind
colors: {
  custom: {
    50: '#7f87db',
    500: '#3159ca',
    950: '#000000',
  },
}
SCSS
$custom: #3159ca;
$custom-light: #7f87db;
$custom-dark: #000000;
JSON
{
  "hex": "#3159ca",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 224.314,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50362,
    "c": 0.18152,
    "h": 265.5
  },
  "luminance": 0.12062
}

Semantic roles & 50–950 ramp

primary
#3159CA
secondary
#CFBC88
accent
#BA44E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3159CA

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

Preview Lab → · Contrast checker → · Palette generator →

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