#3152C3#3152C3

#3152C3 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.181 H 266.9°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#3152C3
RGBrgb(49, 82, 195)
HSLhsl(226, 60%, 48%)
HSVhsv(226, 75%, 76%)
CMYKcmyk(74.9%, 57.9%, 0%, 23.5%)
CIE-LABlab(38.94, 28.05, -62.52)
CIE-LCHlch(38.94, 68.53, 294.17°)
OKLaboklab(48.42% -0.0097 -0.1804)
OKLCHoklch(48.42% 0.181 266.9)
XYZxyz(14.1308, 10.6261, 52.9255)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3152C3 #C3A231
analogous
#319BC3 #3152C3 #5931C3
triadic
#3152C3 #C33152 #52C331
tetradic
#3152C3 #C3319B #C3A231 #31C359
square
#3152C3 #C3319B #C3A231 #31C359
split-complementary
#3152C3 #C35931 #9BC331
monochromatic
#182961 #253D92 #3152C3 #5B77D6 #8CA0E2

Accessibility & contrast

On white

6.72
#3152C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3152C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3152C3
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3152C3#FFFFFF#000000##FFFFFF
##3152C31.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3152c3;
/* rgb */ color: rgb(49, 82, 195);
/* oklch */ color: oklch(48.4% 0.181 266.9);
Tailwind
colors: {
  custom: {
    50: '#7e82d6',
    500: '#3152c3',
    950: '#000000',
  },
}
SCSS
$custom: #3152c3;
$custom-light: #7e82d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3152c3",
  "rgb": {
    "r": 49,
    "g": 82,
    "b": 195
  },
  "hsl": {
    "h": 226.438,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48417,
    "c": 0.18071,
    "h": 266.9
  },
  "luminance": 0.10628
}

Semantic roles & 50–950 ramp

primary
#3152C3
secondary
#CCBC83
accent
#BF45E3
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3152C3

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

Preview Lab → · Contrast checker → · Palette generator →

#3152C3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva