#3152C8#3152C8

#3152C8 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.8% C 0.187 H 267.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#3152C8
RGBrgb(49, 82, 200)
HSLhsl(227, 61%, 49%)
HSVhsv(227, 76%, 78%)
CMYKcmyk(75.5%, 59%, 0%, 21.6%)
CIE-LABlab(39.34, 29.90, -64.79)
CIE-LCHlch(39.34, 71.35, 294.77°)
OKLaboklab(48.83% -0.0096 -0.1871)
OKLCHoklch(48.83% 0.187 267.1)
XYZxyz(14.7056, 10.8561, 55.9528)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3152C8 #C8A731
analogous
#319EC8 #3152C8 #5B31C8
triadic
#3152C8 #C83152 #52C831
tetradic
#3152C8 #C8319E #C8A731 #31C85B
square
#3152C8 #C8319E #C8A731 #31C85B
split-complementary
#3152C8 #C85B31 #9EC831
monochromatic
#192A66 #253E97 #3152C8 #5F79D8 #90A2E4

Accessibility & contrast

On white

6.62
#3152C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3152C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3152C8
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3152C8#FFFFFF#000000##FFFFFF
##3152C81.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#0056C6
Tritanopia (blue-blind)
#007085
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3152c8;
/* rgb */ color: rgb(49, 82, 200);
/* oklch */ color: oklch(48.8% 0.187 267.1);
Tailwind
colors: {
  custom: {
    50: '#7f82da',
    500: '#3152c8',
    950: '#000000',
  },
}
SCSS
$custom: #3152c8;
$custom-light: #7f82da;
$custom-dark: #000000;
JSON
{
  "hex": "#3152c8",
  "rgb": {
    "r": 49,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 226.887,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48834,
    "c": 0.18734,
    "h": 267.1
  },
  "luminance": 0.10858
}

Semantic roles & 50–950 ramp

primary
#3152C8
secondary
#CEBF86
accent
#C144E4
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3152C8

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

Preview Lab → · Contrast checker → · Palette generator →

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