#3D52BC#3D52BC

#3D52BC is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.168 H 270.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#3D52BC
RGBrgb(61, 82, 188)
HSLhsl(230, 51%, 49%)
HSVhsv(230, 68%, 74%)
CMYKcmyk(67.6%, 56.4%, 0%, 26.3%)
CIE-LABlab(39.00, 27.11, -58.33)
CIE-LCHlch(39.00, 64.32, 294.93°)
OKLaboklab(48.45% 0.0012 -0.1679)
OKLCHoklch(48.45% 0.168 270.4)
XYZxyz(14.0158, 10.6562, 48.8854)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D52BC #BCA73D
analogous
#3D92BC #3D52BC #683DBC
triadic
#3D52BC #BC3D52 #52BC3D
tetradic
#3D52BC #BC3D92 #BCA73D #3DBC68
square
#3D52BC #BC3D92 #BCA73D #3DBC68
split-complementary
#3D52BC #BC683D #92BC3D
monochromatic
#1F2A60 #2E3E8E #3D52BC #6879CE #96A2DD

Accessibility & contrast

On white

6.71
#3D52BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3D52BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D52BC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D52BC#FFFFFF#000000##FFFFFF
##3D52BC1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3d52bc;
/* rgb */ color: rgb(61, 82, 188);
/* oklch */ color: oklch(48.4% 0.168 270.4);
Tailwind
colors: {
  custom: {
    50: '#8182d1',
    500: '#3d52bc',
    950: '#000000',
  },
}
SCSS
$custom: #3d52bc;
$custom-light: #8182d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d52bc",
  "rgb": {
    "r": 61,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 230.079,
    "s": 51.004,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48447,
    "c": 0.16786,
    "h": 270.4
  },
  "luminance": 0.10658
}

Semantic roles & 50–950 ramp

primary
#3D52BC
secondary
#C9BF8C
accent
#C34DDA
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #3D52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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