#3155C6#3155C6

#3155C6 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.2% C 0.181 H 266.3°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#3155C6
RGBrgb(49, 85, 198)
HSLhsl(226, 60%, 48%)
HSVhsv(226, 75%, 78%)
CMYKcmyk(75.3%, 57.1%, 0%, 22.4%)
CIE-LABlab(39.96, 27.22, -62.62)
CIE-LCHlch(39.96, 68.28, 293.49°)
OKLaboklab(49.25% -0.0117 -0.1807)
OKLCHoklch(49.25% 0.181 266.3)
XYZxyz(14.7046, 11.2256, 54.8069)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3155C6 #C6A231
analogous
#319FC6 #3155C6 #5731C6
triadic
#3155C6 #C63155 #55C631
tetradic
#3155C6 #C6319F #C6A231 #31C657
square
#3155C6 #C6319F #C6A231 #31C657
split-complementary
#3155C6 #C65731 #9FC631
monochromatic
#192B64 #254095 #3155C6 #5D7BD7 #8EA3E3

Accessibility & contrast

On white

6.47
#3155C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#3155C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3155C6
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3155C6#FFFFFF#000000##FFFFFF
##3155C61.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CA
Deuteranopia (green-blind)
#0058C4
Tritanopia (blue-blind)
#007185
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3155c6;
/* rgb */ color: rgb(49, 85, 198);
/* oklch */ color: oklch(49.2% 0.181 266.3);
Tailwind
colors: {
  custom: {
    50: '#7f84d8',
    500: '#3155c6',
    950: '#000000',
  },
}
SCSS
$custom: #3155c6;
$custom-light: #7f84d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3155c6",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 198
  },
  "hsl": {
    "h": 225.503,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49249,
    "c": 0.18106,
    "h": 266.3
  },
  "luminance": 0.11227
}

Semantic roles & 50–950 ramp

primary
#3155C6
secondary
#CEBC85
accent
#BD44E3
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3155C6

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

Preview Lab → · Contrast checker → · Palette generator →

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