#3D49AB#3D49AB

#3D49AB is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.156 H 273.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#3D49AB
RGBrgb(61, 73, 171)
HSLhsl(233, 47%, 45%)
HSVhsv(233, 64%, 67%)
CMYKcmyk(64.3%, 57.3%, 0%, 32.9%)
CIE-LABlab(35.39, 26.89, -54.13)
CIE-LCHlch(35.39, 60.44, 296.41°)
OKLaboklab(45.36% 0.0088 -0.1556)
OKLCHoklch(45.36% 0.156 273.2)
XYZxyz(11.6553, 8.6965, 39.5846)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D49AB #AB9F3D
analogous
#3D80AB #3D49AB #683DAB
triadic
#3D49AB #AB3D49 #49AB3D
tetradic
#3D49AB #AB3D80 #AB9F3D #3DAB68
square
#3D49AB #AB3D80 #AB9F3D #3DAB68
split-complementary
#3D49AB #AB683D #80AB3D
monochromatic
#1D2251 #2D367E #3D49AB #5F6AC6 #8C94D6

Accessibility & contrast

On white

7.67
#3D49AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3D49AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D49AB
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D49AB#FFFFFF#000000##FFFFFF
##3D49AB1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3d49ab;
/* rgb */ color: rgb(61, 73, 171);
/* oklch */ color: oklch(45.4% 0.156 273.2);
Tailwind
colors: {
  custom: {
    50: '#7f7bc5',
    500: '#3d49ab',
    950: '#000000',
  },
}
SCSS
$custom: #3d49ab;
$custom-light: #7f7bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d49ab",
  "rgb": {
    "r": 61,
    "g": 73,
    "b": 171
  },
  "hsl": {
    "h": 233.455,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45356,
    "c": 0.15589,
    "h": 273.2
  },
  "luminance": 0.08697
}

Semantic roles & 50–950 ramp

primary
#3D49AB
secondary
#C1BA83
accent
#C851D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3D49AB

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

Preview Lab → · Contrast checker → · Palette generator →

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