#3153C6#3153C6

#3153C6 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.9% C 0.183 H 266.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#3153C6
RGBrgb(49, 83, 198)
HSLhsl(226, 60%, 48%)
HSVhsv(226, 75%, 78%)
CMYKcmyk(75.3%, 58.1%, 0%, 22.4%)
CIE-LABlab(39.44, 28.52, -63.46)
CIE-LCHlch(39.44, 69.58, 294.20°)
OKLaboklab(48.86% -0.0103 -0.1832)
OKLCHoklch(48.86% 0.183 266.8)
XYZxyz(14.5494, 10.9151, 54.7552)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3153C6 #C6A431
analogous
#319DC6 #3153C6 #5931C6
triadic
#3153C6 #C63153 #53C631
tetradic
#3153C6 #C6319D #C6A431 #31C659
square
#3153C6 #C6319D #C6A431 #31C659
split-complementary
#3153C6 #C65931 #9DC631
monochromatic
#192A64 #253E95 #3153C6 #5D79D7 #8EA2E3

Accessibility & contrast

On white

6.60
#3153C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#3153C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3153C6
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3153C6#FFFFFF#000000##FFFFFF
##3153C61.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#0056C4
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3153c6;
/* rgb */ color: rgb(49, 83, 198);
/* oklch */ color: oklch(48.9% 0.183 266.8);
Tailwind
colors: {
  custom: {
    50: '#7f83d8',
    500: '#3153c6',
    950: '#000000',
  },
}
SCSS
$custom: #3153c6;
$custom-light: #7f83d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3153c6",
  "rgb": {
    "r": 49,
    "g": 83,
    "b": 198
  },
  "hsl": {
    "h": 226.309,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48859,
    "c": 0.18349,
    "h": 266.8
  },
  "luminance": 0.10917
}

Semantic roles & 50–950 ramp

primary
#3153C6
secondary
#CEBD85
accent
#BF44E3
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3153C6

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

Preview Lab → · Contrast checker → · Palette generator →

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