#3D52AF#3D52AF

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

Color values

HEX#3D52AF
RGBrgb(61, 82, 175)
HSLhsl(229, 48%, 46%)
HSVhsv(229, 65%, 69%)
CMYKcmyk(65.1%, 53.1%, 0%, 31.4%)
CIE-LABlab(38.06, 22.45, -52.19)
CIE-LCHlch(38.06, 56.82, 293.28°)
OKLaboklab(47.45% 0.0005 -0.1498)
OKLCHoklch(47.45% 0.15 270.2)
XYZxyz(12.6770, 10.1207, 41.8346)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D52AF #AF9A3D
analogous
#3D8BAF #3D52AF #613DAF
triadic
#3D52AF #AF3D52 #52AF3D
tetradic
#3D52AF #AF3D8B #AF9A3D #3DAF61
square
#3D52AF #AF3D8B #AF9A3D #3DAF61
split-complementary
#3D52AF #AF613D #8BAF3D
monochromatic
#1D2754 #2D3D82 #3D52AF #6174C8 #8F9CD8

Accessibility & contrast

On white

6.94
#3D52AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#3D52AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D52AF
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D52AF#FFFFFF#000000##FFFFFF
##3D52AF1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165FB2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3d52af;
/* rgb */ color: rgb(61, 82, 175);
/* oklch */ color: oklch(47.4% 0.150 270.2);
Tailwind
colors: {
  custom: {
    50: '#7f82c7',
    500: '#3d52af',
    950: '#000000',
  },
}
SCSS
$custom: #3d52af;
$custom-light: #7f82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d52af",
  "rgb": {
    "r": 61,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 228.947,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47446,
    "c": 0.14982,
    "h": 270.2
  },
  "luminance": 0.10122
}

Semantic roles & 50–950 ramp

primary
#3D52AF
secondary
#C3B785
accent
#BF50D8
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3D52AF

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

Preview Lab → · Contrast checker → · Palette generator →

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