#3155C2#3155C2

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

Color values

HEX#3155C2
RGBrgb(49, 85, 194)
HSLhsl(225, 60%, 48%)
HSVhsv(225, 75%, 76%)
CMYKcmyk(74.7%, 56.2%, 0%, 23.9%)
CIE-LABlab(39.65, 25.73, -60.79)
CIE-LCHlch(39.65, 66.01, 292.94°)
OKLaboklab(48.93% -0.0119 -0.1753)
OKLCHoklch(48.93% 0.176 266.1)
XYZxyz(14.2493, 11.0434, 52.4091)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3155C2 #C29E31
analogous
#319EC2 #3155C2 #5531C2
triadic
#3155C2 #C23155 #55C231
tetradic
#3155C2 #C2319E #C29E31 #31C255
square
#3155C2 #C2319E #C29E31 #31C255
split-complementary
#3155C2 #C25531 #9EC231
monochromatic
#182A60 #254091 #3155C2 #5B79D6 #8CA1E2

Accessibility & contrast

On white

6.54
#3155C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#3155C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3155C2
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3155C2#FFFFFF#000000##FFFFFF
##3155C21.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3155c2;
/* rgb */ color: rgb(49, 85, 194);
/* oklch */ color: oklch(48.9% 0.176 266.1);
Tailwind
colors: {
  custom: {
    50: '#7e84d5',
    500: '#3155c2',
    950: '#000000',
  },
}
SCSS
$custom: #3155c2;
$custom-light: #7e84d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3155c2",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 194
  },
  "hsl": {
    "h": 225.103,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48925,
    "c": 0.1757,
    "h": 266.1
  },
  "luminance": 0.11045
}

Semantic roles & 50–950 ramp

primary
#3155C2
secondary
#CCBA83
accent
#BC45E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3155C2

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

Preview Lab → · Contrast checker → · Palette generator →

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