#3152AE#3152AE

#3152AE is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.7% C 0.152 H 265.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#3152AE
RGBrgb(49, 82, 174)
HSLhsl(224, 56%, 44%)
HSVhsv(224, 72%, 68%)
CMYKcmyk(71.8%, 52.9%, 0%, 31.8%)
CIE-LABlab(37.38, 20.21, -52.73)
CIE-LCHlch(37.38, 56.48, 290.97°)
OKLaboklab(46.74% -0.011 -0.1517)
OKLCHoklch(46.74% 0.152 265.8)
XYZxyz(11.9212, 9.7423, 41.2884)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3152AE #AE8D31
analogous
#3190AE #3152AE #4E31AE
triadic
#3152AE #AE3152 #52AE31
tetradic
#3152AE #AE3190 #AE8D31 #31AE4E
square
#3152AE #AE3190 #AE8D31 #31AE4E
split-complementary
#3152AE #AE4E31 #90AE31
monochromatic
#16254E #243B7E #3152AE #4F70CD #7F97DB

Accessibility & contrast

On white

7.12
#3152AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#3152AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3152AE#FFFFFF#000000##FFFFFF
##3152AE1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145EB1
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3152ae;
/* rgb */ color: rgb(49, 82, 174);
/* oklch */ color: oklch(46.7% 0.152 265.8);
Tailwind
colors: {
  custom: {
    50: '#7982c7',
    500: '#3152ae',
    950: '#000000',
  },
}
SCSS
$custom: #3152ae;
$custom-light: #7982c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3152ae",
  "rgb": {
    "r": 49,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 224.16,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46742,
    "c": 0.15207,
    "h": 265.8
  },
  "luminance": 0.09744
}

Semantic roles & 50–950 ramp

primary
#3152AE
secondary
#C4AF77
accent
#B848DF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3152AE

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

Preview Lab → · Contrast checker → · Palette generator →

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