#3152AA#3152AA

#3152AA is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.4% C 0.146 H 265.5°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#3152AA
RGBrgb(49, 82, 170)
HSLhsl(224, 55%, 43%)
HSVhsv(224, 71%, 67%)
CMYKcmyk(71.2%, 51.8%, 0%, 33.3%)
CIE-LABlab(37.09, 18.71, -50.82)
CIE-LCHlch(37.09, 54.15, 290.22°)
OKLaboklab(46.44% -0.0114 -0.146)
OKLCHoklch(46.44% 0.146 265.5)
XYZxyz(11.5371, 9.5886, 39.2652)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3152AA #AA8931
analogous
#318FAA #3152AA #4C31AA
triadic
#3152AA #AA3152 #52AA31
tetradic
#3152AA #AA318F #AA8931 #31AA4C
square
#3152AA #AA318F #AA8931 #31AA4C
split-complementary
#3152AA #AA4C31 #8FAA31
monochromatic
#16244B #233B7A #3152AA #4D6FCC #7C96D9

Accessibility & contrast

On white

7.20
#3152AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#3152AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3152AA#FFFFFF#000000##FFFFFF
##3152AA1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5DAD
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3152aa;
/* rgb */ color: rgb(49, 82, 170);
/* oklch */ color: oklch(46.4% 0.146 265.5);
Tailwind
colors: {
  custom: {
    50: '#7882c4',
    500: '#3152aa',
    950: '#000000',
  },
}
SCSS
$custom: #3152aa;
$custom-light: #7882c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3152aa",
  "rgb": {
    "r": 49,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 223.636,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46439,
    "c": 0.14647,
    "h": 265.5
  },
  "luminance": 0.0959
}

Semantic roles & 50–950 ramp

primary
#3152AA
secondary
#C2AD75
accent
#B649DF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3152AA

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

Preview Lab → · Contrast checker → · Palette generator →

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