#3D52BB#3D52BB

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

Color values

HEX#3D52BB
RGBrgb(61, 82, 187)
HSLhsl(230, 51%, 49%)
HSVhsv(230, 67%, 73%)
CMYKcmyk(67.4%, 56.1%, 0%, 26.7%)
CIE-LABlab(38.92, 26.75, -57.86)
CIE-LCHlch(38.92, 63.75, 294.81°)
OKLaboklab(48.37% 0.0012 -0.1665)
OKLCHoklch(48.37% 0.166 270.4)
XYZxyz(13.9084, 10.6132, 48.3197)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D52BB #BBA63D
analogous
#3D91BB #3D52BB #673DBB
triadic
#3D52BB #BB3D52 #52BB3D
tetradic
#3D52BB #BB3D91 #BBA63D #3DBB67
square
#3D52BB #BB3D91 #BBA63D #3DBB67
split-complementary
#3D52BB #BB673D #91BB3D
monochromatic
#1F2A5F #2E3E8D #3D52BB #6879CE #96A2DD

Accessibility & contrast

On white

6.72
#3D52BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3D52BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D52BB
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D52BB#FFFFFF#000000##FFFFFF
##3D52BB1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3d52bb;
/* rgb */ color: rgb(61, 82, 187);
/* oklch */ color: oklch(48.4% 0.166 270.4);
Tailwind
colors: {
  custom: {
    50: '#8182d0',
    500: '#3d52bb',
    950: '#000000',
  },
}
SCSS
$custom: #3d52bb;
$custom-light: #8182d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d52bb",
  "rgb": {
    "r": 61,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 230,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48369,
    "c": 0.16649,
    "h": 270.4
  },
  "luminance": 0.10615
}

Semantic roles & 50–950 ramp

primary
#3D52BB
secondary
#C8BE8C
accent
#C34EDA
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #3D52BB

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

Preview Lab → · Contrast checker → · Palette generator →

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