#4852BF#4852BF

#4852BF is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.3% C 0.169 H 274.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#4852BF
RGBrgb(72, 82, 191)
HSLhsl(235, 48%, 52%)
HSVhsv(235, 62%, 75%)
CMYKcmyk(62.3%, 57.1%, 0%, 25.1%)
CIE-LABlab(39.87, 29.93, -58.63)
CIE-LCHlch(39.87, 65.83, 297.04°)
OKLaboklab(49.34% 0.0131 -0.1685)
OKLCHoklch(49.34% 0.169 274.4)
XYZxyz(15.0907, 11.1727, 50.6414)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4852BF #BFB548
analogous
#488EBF #4852BF #7A48BF
triadic
#4852BF #BF4852 #52BF48
tetradic
#4852BF #BF488E #BFB548 #48BF7A
square
#4852BF #BF488E #BFB548 #48BF7A
split-complementary
#4852BF #BF7A48 #8EBF48
monochromatic
#242A68 #343C96 #4852BF #757DCF #A3A8DF

Accessibility & contrast

On white

6.49
#4852BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4852BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4852BF
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4852BF#FFFFFF#000000##FFFFFF
##4852BF1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4852bf;
/* rgb */ color: rgb(72, 82, 191);
/* oklch */ color: oklch(49.3% 0.169 274.4);
Tailwind
colors: {
  custom: {
    50: '#8782d3',
    500: '#4852bf',
    950: '#000000',
  },
}
SCSS
$custom: #4852bf;
$custom-light: #8782d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4852bf",
  "rgb": {
    "r": 72,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 234.958,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49343,
    "c": 0.169,
    "h": 274.4
  },
  "luminance": 0.11174
}

Semantic roles & 50–950 ramp

primary
#4852BF
secondary
#CCC797
accent
#CC50D8
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4852BF

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

Preview Lab → · Contrast checker → · Palette generator →

#4852BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva