#3152AF#3152AF

#3152AF is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.8% C 0.153 H 265.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#3152AF
RGBrgb(49, 82, 175)
HSLhsl(224, 56%, 44%)
HSVhsv(224, 72%, 69%)
CMYKcmyk(72%, 53.1%, 0%, 31.4%)
CIE-LABlab(37.45, 20.59, -53.21)
CIE-LCHlch(37.45, 57.06, 291.15°)
OKLaboklab(46.82% -0.0109 -0.1531)
OKLCHoklch(46.82% 0.153 265.9)
XYZxyz(12.0191, 9.7814, 41.8037)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3152AF #AF8E31
analogous
#3191AF #3152AF #4F31AF
triadic
#3152AF #AF3152 #52AF31
tetradic
#3152AF #AF3191 #AF8E31 #31AF4F
square
#3152AF #AF3191 #AF8E31 #31AF4F
split-complementary
#3152AF #AF4F31 #91AF31
monochromatic
#16254F #243C7F #3152AF #4F70CE #7F97DB

Accessibility & contrast

On white

7.10
#3152AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3152AF#FFFFFF#000000##FFFFFF
##3152AF1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115EB2
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3152af;
/* rgb */ color: rgb(49, 82, 175);
/* oklch */ color: oklch(46.8% 0.153 265.9);
Tailwind
colors: {
  custom: {
    50: '#7a82c8',
    500: '#3152af',
    950: '#000000',
  },
}
SCSS
$custom: #3152af;
$custom-light: #7a82c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3152af",
  "rgb": {
    "r": 49,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 224.286,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46819,
    "c": 0.15346,
    "h": 265.9
  },
  "luminance": 0.09783
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3152AF

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

Preview Lab → · Contrast checker → · Palette generator →

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