#3155C1#3155C1

#3155C1 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.8% C 0.174 H 266.1°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#3155C1
RGBrgb(49, 85, 193)
HSLhsl(225, 60%, 47%)
HSVhsv(225, 75%, 76%)
CMYKcmyk(74.6%, 56%, 0%, 24.3%)
CIE-LABlab(39.58, 25.36, -60.33)
CIE-LCHlch(39.58, 65.44, 292.80°)
OKLaboklab(48.85% -0.012 -0.1739)
OKLCHoklch(48.85% 0.174 266.1)
XYZxyz(14.1374, 10.9987, 51.8196)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3155C1 #C19D31
analogous
#319DC1 #3155C1 #5531C1
triadic
#3155C1 #C13155 #55C131
tetradic
#3155C1 #C1319D #C19D31 #31C155
square
#3155C1 #C1319D #C19D31 #31C155
split-complementary
#3155C1 #C15531 #9DC131
monochromatic
#182A5F #254090 #3155C1 #5A79D5 #8BA1E2

Accessibility & contrast

On white

6.56
#3155C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3155C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3155C1
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3155C1#FFFFFF#000000##FFFFFF
##3155C11.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3155c1;
/* rgb */ color: rgb(49, 85, 193);
/* oklch */ color: oklch(48.8% 0.174 266.1);
Tailwind
colors: {
  custom: {
    50: '#7d84d5',
    500: '#3155c1',
    950: '#000000',
  },
}
SCSS
$custom: #3155c1;
$custom-light: #7d84d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3155c1",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 193
  },
  "hsl": {
    "h": 225,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48845,
    "c": 0.17436,
    "h": 266.1
  },
  "luminance": 0.11
}

Semantic roles & 50–950 ramp

primary
#3155C1
secondary
#CCB982
accent
#BB45E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3155C1

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

Preview Lab → · Contrast checker → · Palette generator →

#3155C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva