#3D48B3#3D48B3

#3D48B3 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.8% C 0.168 H 273.3°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#3D48B3
RGBrgb(61, 72, 179)
HSLhsl(234, 49%, 47%)
HSVhsv(234, 66%, 70%)
CMYKcmyk(65.9%, 59.8%, 0%, 29.8%)
CIE-LABlab(35.75, 30.35, -58.30)
CIE-LCHlch(35.75, 65.73, 297.50°)
OKLaboklab(45.82% 0.0097 -0.1679)
OKLCHoklch(45.82% 0.168 273.3)
XYZxyz(12.3758, 8.8804, 43.7010)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D48B3 #B3A83D
analogous
#3D83B3 #3D48B3 #6D3DB3
triadic
#3D48B3 #B33D48 #48B33D
tetradic
#3D48B3 #B33D83 #B3A83D #3DB36D
square
#3D48B3 #B33D83 #B3A83D #3DB36D
split-complementary
#3D48B3 #B36D3D #83B33D
monochromatic
#1E2358 #2D3685 #3D48B3 #636DCA #9198D9

Accessibility & contrast

On white

7.56
#3D48B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3D48B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D48B3
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D48B3#FFFFFF#000000##FFFFFF
##3D48B31.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d48b3;
/* rgb */ color: rgb(61, 72, 179);
/* oklch */ color: oklch(45.8% 0.168 273.3);
Tailwind
colors: {
  custom: {
    50: '#807bcb',
    500: '#3d48b3',
    950: '#000000',
  },
}
SCSS
$custom: #3d48b3;
$custom-light: #807bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d48b3",
  "rgb": {
    "r": 61,
    "g": 72,
    "b": 179
  },
  "hsl": {
    "h": 234.407,
    "s": 49.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45816,
    "c": 0.16818,
    "h": 273.3
  },
  "luminance": 0.08882
}

Semantic roles & 50–950 ramp

primary
#3D48B3
secondary
#C5BF87
accent
#CC4FD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3D48B3

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

Preview Lab → · Contrast checker → · Palette generator →

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