#3B52AF#3B52AF

#3B52AF is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.3% C 0.150 H 269.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#3B52AF
RGBrgb(59, 82, 175)
HSLhsl(228, 50%, 46%)
HSVhsv(228, 66%, 69%)
CMYKcmyk(66.3%, 53.1%, 0%, 31.4%)
CIE-LABlab(37.95, 22.12, -52.38)
CIE-LCHlch(37.95, 56.86, 292.89°)
OKLaboklab(47.33% -0.0015 -0.1504)
OKLCHoklch(47.33% 0.15 269.4)
XYZxyz(12.5562, 10.0584, 41.8289)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B52AF #AF983B
analogous
#3B8CAF #3B52AF #5E3BAF
triadic
#3B52AF #AF3B52 #52AF3B
tetradic
#3B52AF #AF3B8C #AF983B #3BAF5E
square
#3B52AF #AF3B8C #AF983B #3BAF5E
split-complementary
#3B52AF #AF5E3B #8CAF3B
monochromatic
#1C2753 #2C3D81 #3B52AF #5E73C9 #8C9BD8

Accessibility & contrast

On white

6.97
#3B52AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3B52AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B52AF
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B52AF#FFFFFF#000000##FFFFFF
##3B52AF1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155FB2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3b52af;
/* rgb */ color: rgb(59, 82, 175);
/* oklch */ color: oklch(47.3% 0.150 269.4);
Tailwind
colors: {
  custom: {
    50: '#7e82c7',
    500: '#3b52af',
    950: '#000000',
  },
}
SCSS
$custom: #3b52af;
$custom-light: #7e82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b52af",
  "rgb": {
    "r": 59,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 228.103,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47333,
    "c": 0.15042,
    "h": 269.4
  },
  "luminance": 0.1006
}

Semantic roles & 50–950 ramp

primary
#3B52AF
secondary
#C3B683
accent
#BE4FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3B52AF

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

Preview Lab → · Contrast checker → · Palette generator →

#3B52AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva