#3152C0#3152C0

#3152C0 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.177 H 266.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#3152C0
RGBrgb(49, 82, 192)
HSLhsl(226, 59%, 47%)
HSVhsv(226, 74%, 75%)
CMYKcmyk(74.5%, 57.3%, 0%, 24.7%)
CIE-LABlab(38.71, 26.94, -61.15)
CIE-LCHlch(38.71, 66.82, 293.78°)
OKLaboklab(48.17% -0.0098 -0.1764)
OKLCHoklch(48.17% 0.177 266.8)
XYZxyz(13.7950, 10.4918, 51.1570)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3152C0 #C09F31
analogous
#3199C0 #3152C0 #5831C0
triadic
#3152C0 #C03152 #52C031
tetradic
#3152C0 #C03199 #C09F31 #31C058
square
#3152C0 #C03199 #C09F31 #31C058
split-complementary
#3152C0 #C05831 #99C031
monochromatic
#18285E #253D8F #3152C0 #5976D5 #8A9EE1

Accessibility & contrast

On white

6.78
#3152C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#3152C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3152C0
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3152C0#FFFFFF#000000##FFFFFF
##3152C01.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C4
Deuteranopia (green-blind)
#0055BE
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3152c0;
/* rgb */ color: rgb(49, 82, 192);
/* oklch */ color: oklch(48.2% 0.177 266.8);
Tailwind
colors: {
  custom: {
    50: '#7d82d4',
    500: '#3152c0',
    950: '#000000',
  },
}
SCSS
$custom: #3152c0;
$custom-light: #7d82d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3152c0",
  "rgb": {
    "r": 49,
    "g": 82,
    "b": 192
  },
  "hsl": {
    "h": 226.154,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4817,
    "c": 0.17669,
    "h": 266.8
  },
  "luminance": 0.10493
}

Semantic roles & 50–950 ramp

primary
#3152C0
secondary
#CBBA82
accent
#BE45E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3152C0

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

Preview Lab → · Contrast checker → · Palette generator →

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