#3D52AC#3D52AC

#3D52AC is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.2% C 0.146 H 270.1°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#3D52AC
RGBrgb(61, 82, 172)
HSLhsl(229, 48%, 46%)
HSVhsv(229, 65%, 67%)
CMYKcmyk(64.5%, 52.3%, 0%, 32.5%)
CIE-LABlab(37.85, 21.38, -50.75)
CIE-LCHlch(37.85, 55.07, 292.84°)
OKLaboklab(47.22% 0.0003 -0.1456)
OKLCHoklch(47.22% 0.146 270.1)
XYZxyz(12.3856, 10.0041, 40.3000)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D52AC #AC973D
analogous
#3D89AC #3D52AC #603DAC
triadic
#3D52AC #AC3D52 #52AC3D
tetradic
#3D52AC #AC3D89 #AC973D #3DAC60
square
#3D52AC #AC3D89 #AC973D #3DAC60
split-complementary
#3D52AC #AC603D #89AC3D
monochromatic
#1D2752 #2D3C7F #3D52AC #6073C7 #8D9BD7

Accessibility & contrast

On white

7.00
#3D52AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#3D52AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D52AC
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D52AC#FFFFFF#000000##FFFFFF
##3D52AC1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5EAF
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3d52ac;
/* rgb */ color: rgb(61, 82, 172);
/* oklch */ color: oklch(47.2% 0.146 270.1);
Tailwind
colors: {
  custom: {
    50: '#7e82c5',
    500: '#3d52ac',
    950: '#000000',
  },
}
SCSS
$custom: #3d52ac;
$custom-light: #7e82c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d52ac",
  "rgb": {
    "r": 61,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 228.649,
    "s": 47.639,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47223,
    "c": 0.14558,
    "h": 270.1
  },
  "luminance": 0.10005
}

Semantic roles & 50–950 ramp

primary
#3D52AC
secondary
#C1B684
accent
#BE51D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3D52AC

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

Preview Lab → · Contrast checker → · Palette generator →

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