#3152B0#3152B0

#3152B0 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.9% C 0.155 H 266.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#3152B0
RGBrgb(49, 82, 176)
HSLhsl(224, 56%, 44%)
HSVhsv(224, 72%, 69%)
CMYKcmyk(72.2%, 53.4%, 0%, 31%)
CIE-LABlab(37.52, 20.96, -53.69)
CIE-LCHlch(37.52, 57.63, 291.33°)
OKLaboklab(46.9% -0.0108 -0.1545)
OKLCHoklch(46.9% 0.155 266)
XYZxyz(12.1176, 9.8209, 42.3229)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3152B0 #B08F31
analogous
#3192B0 #3152B0 #4F31B0
triadic
#3152B0 #B03152 #52B031
tetradic
#3152B0 #B03192 #B08F31 #31B04F
square
#3152B0 #B03192 #B08F31 #31B04F
split-complementary
#3152B0 #B04F31 #92B031
monochromatic
#162550 #243C80 #3152B0 #5071CE #8098DC

Accessibility & contrast

On white

7.08
#3152B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3152B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3152B0
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3152B0#FFFFFF#000000##FFFFFF
##3152B01.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5EB3
Deuteranopia (green-blind)
#0053AE
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3152b0;
/* rgb */ color: rgb(49, 82, 176);
/* oklch */ color: oklch(46.9% 0.155 266.0);
Tailwind
colors: {
  custom: {
    50: '#7a82c8',
    500: '#3152b0',
    950: '#000000',
  },
}
SCSS
$custom: #3152b0;
$custom-light: #7a82c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3152b0",
  "rgb": {
    "r": 49,
    "g": 82,
    "b": 176
  },
  "hsl": {
    "h": 224.409,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46896,
    "c": 0.15485,
    "h": 266
  },
  "luminance": 0.09822
}

Semantic roles & 50–950 ramp

primary
#3152B0
secondary
#C5B178
accent
#B848E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3152B0

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

Preview Lab → · Contrast checker → · Palette generator →

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