#3D4CAC#3D4CAC

#3D4CAC is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.153 H 272.2°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#3D4CAC
RGBrgb(61, 76, 172)
HSLhsl(232, 48%, 46%)
HSVhsv(232, 65%, 67%)
CMYKcmyk(64.5%, 55.8%, 0%, 32.5%)
CIE-LABlab(36.25, 25.29, -53.34)
CIE-LCHlch(36.25, 59.03, 295.37°)
OKLaboklab(46.02% 0.006 -0.1533)
OKLCHoklch(46.02% 0.153 272.2)
XYZxyz(11.9528, 9.1385, 40.1557)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4CAC #AC9D3D
analogous
#3D83AC #3D4CAC #653DAC
triadic
#3D4CAC #AC3D4C #4CAC3D
tetradic
#3D4CAC #AC3D83 #AC9D3D #3DAC65
square
#3D4CAC #AC3D83 #AC9D3D #3DAC65
split-complementary
#3D4CAC #AC653D #83AC3D
monochromatic
#1D2452 #2D387F #3D4CAC #606EC7 #8D97D7

Accessibility & contrast

On white

7.43
#3D4CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3D4CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4CAC
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4CAC#FFFFFF#000000##FFFFFF
##3D4CAC1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3d4cac;
/* rgb */ color: rgb(61, 76, 172);
/* oklch */ color: oklch(46.0% 0.153 272.2);
Tailwind
colors: {
  custom: {
    50: '#7f7dc5',
    500: '#3d4cac',
    950: '#000000',
  },
}
SCSS
$custom: #3d4cac;
$custom-light: #7f7dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4cac",
  "rgb": {
    "r": 61,
    "g": 76,
    "b": 172
  },
  "hsl": {
    "h": 231.892,
    "s": 47.639,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46019,
    "c": 0.15339,
    "h": 272.2
  },
  "luminance": 0.0914
}

Semantic roles & 50–950 ramp

primary
#3D4CAC
secondary
#C1B984
accent
#C551D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3D4CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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