#3D48A5#3D48A5

#3D48A5 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.149 H 273.7°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#3D48A5
RGBrgb(61, 72, 165)
HSLhsl(234, 46%, 44%)
HSVhsv(234, 63%, 65%)
CMYKcmyk(63%, 56.4%, 0%, 35.3%)
CIE-LABlab(34.69, 25.42, -51.69)
CIE-LCHlch(34.69, 57.60, 296.18°)
OKLaboklab(44.69% 0.0095 -0.1485)
OKLCHoklch(44.69% 0.149 273.7)
XYZxyz(11.0311, 8.3425, 36.6190)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D48A5 #A59A3D
analogous
#3D7CA5 #3D48A5 #663DA5
triadic
#3D48A5 #A53D48 #48A53D
tetradic
#3D48A5 #A53D7C #A59A3D #3DA566
square
#3D48A5 #A53D7C #A59A3D #3DA566
split-complementary
#3D48A5 #A5663D #7CA53D
monochromatic
#1C214C #2C3578 #3D48A5 #5C67C3 #8991D3

Accessibility & contrast

On white

7.87
#3D48A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3D48A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D48A5
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D48A5#FFFFFF#000000##FFFFFF
##3D48A51.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3d48a5;
/* rgb */ color: rgb(61, 72, 165);
/* oklch */ color: oklch(44.7% 0.149 273.7);
Tailwind
colors: {
  custom: {
    50: '#7d7ac0',
    500: '#3d48a5',
    950: '#000000',
  },
}
SCSS
$custom: #3d48a5;
$custom-light: #7d7ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d48a5",
  "rgb": {
    "r": 61,
    "g": 72,
    "b": 165
  },
  "hsl": {
    "h": 233.654,
    "s": 46.018,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44687,
    "c": 0.14878,
    "h": 273.7
  },
  "luminance": 0.08343
}

Semantic roles & 50–950 ramp

primary
#3D48A5
secondary
#BEB780
accent
#C852D6
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #3D48A5

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

Preview Lab → · Contrast checker → · Palette generator →

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