#3D48B2#3D48B2

#3D48B2 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.167 H 273.3°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#3D48B2
RGBrgb(61, 72, 178)
HSLhsl(234, 49%, 47%)
HSVhsv(234, 66%, 70%)
CMYKcmyk(65.7%, 59.6%, 0%, 30.2%)
CIE-LABlab(35.67, 30.00, -57.83)
CIE-LCHlch(35.67, 65.15, 297.42°)
OKLaboklab(45.73% 0.0097 -0.1665)
OKLCHoklch(45.73% 0.167 273.3)
XYZxyz(12.2750, 8.8401, 43.1703)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D48B2 #B2A73D
analogous
#3D83B2 #3D48B2 #6D3DB2
triadic
#3D48B2 #B23D48 #48B23D
tetradic
#3D48B2 #B23D83 #B2A73D #3DB26D
square
#3D48B2 #B23D83 #B2A73D #3DB26D
split-complementary
#3D48B2 #B26D3D #83B23D
monochromatic
#1E2357 #2D3684 #3D48B2 #636CC9 #9097D9

Accessibility & contrast

On white

7.59
#3D48B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3D48B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D48B2
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D48B2#FFFFFF#000000##FFFFFF
##3D48B21.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3d48b2;
/* rgb */ color: rgb(61, 72, 178);
/* oklch */ color: oklch(45.7% 0.167 273.3);
Tailwind
colors: {
  custom: {
    50: '#807bca',
    500: '#3d48b2',
    950: '#000000',
  },
}
SCSS
$custom: #3d48b2;
$custom-light: #807bca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d48b2",
  "rgb": {
    "r": 61,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 234.359,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45734,
    "c": 0.16681,
    "h": 273.3
  },
  "luminance": 0.08841
}

Semantic roles & 50–950 ramp

primary
#3D48B2
secondary
#C4BE87
accent
#CC4FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3D48B2

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

Preview Lab → · Contrast checker → · Palette generator →

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