#3D52B9#3D52B9

#3D52B9 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.164 H 270.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#3D52B9
RGBrgb(61, 82, 185)
HSLhsl(230, 50%, 48%)
HSVhsv(230, 67%, 73%)
CMYKcmyk(67%, 55.7%, 0%, 27.5%)
CIE-LABlab(38.77, 26.04, -56.93)
CIE-LCHlch(38.77, 62.60, 294.58°)
OKLaboklab(48.21% 0.0011 -0.1637)
OKLCHoklch(48.21% 0.164 270.4)
XYZxyz(13.6957, 10.5282, 47.1999)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D52B9 #B9A43D
analogous
#3D90B9 #3D52B9 #663DB9
triadic
#3D52B9 #B93D52 #52B93D
tetradic
#3D52B9 #B93D90 #B9A43D #3DB966
square
#3D52B9 #B93D90 #B9A43D #3DB966
split-complementary
#3D52B9 #B9663D #90B93D
monochromatic
#1F295D #2E3E8B #3D52B9 #6678CD #95A1DC

Accessibility & contrast

On white

6.76
#3D52B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3D52B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D52B9
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D52B9#FFFFFF#000000##FFFFFF
##3D52B91.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3d52b9;
/* rgb */ color: rgb(61, 82, 185);
/* oklch */ color: oklch(48.2% 0.164 270.4);
Tailwind
colors: {
  custom: {
    50: '#8182cf',
    500: '#3d52b9',
    950: '#000000',
  },
}
SCSS
$custom: #3d52b9;
$custom-light: #8182cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d52b9",
  "rgb": {
    "r": 61,
    "g": 82,
    "b": 185
  },
  "hsl": {
    "h": 229.839,
    "s": 50.407,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48212,
    "c": 0.16375,
    "h": 270.4
  },
  "luminance": 0.10529
}

Semantic roles & 50–950 ramp

primary
#3D52B9
secondary
#C7BD8B
accent
#C24EDA
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3D52B9

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

Preview Lab → · Contrast checker → · Palette generator →

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