#3D5DAC#3D5DAC

#3D5DAC is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.5% C 0.131 H 265.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#3D5DAC
RGBrgb(61, 93, 172)
HSLhsl(223, 48%, 46%)
HSVhsv(223, 65%, 67%)
CMYKcmyk(64.5%, 45.9%, 0%, 32.5%)
CIE-LABlab(40.89, 14.24, -45.86)
CIE-LCHlch(40.89, 48.02, 287.25°)
OKLaboklab(49.54% -0.0107 -0.131)
OKLCHoklch(49.54% 0.131 265.3)
XYZxyz(13.2826, 11.7981, 40.5990)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5DAC #AC8C3D
analogous
#3D94AC #3D5DAC #553DAC
triadic
#3D5DAC #AC3D5D #5DAC3D
tetradic
#3D5DAC #AC3D94 #AC8C3D #3DAC55
square
#3D5DAC #AC3D94 #AC8C3D #3DAC55
split-complementary
#3D5DAC #AC553D #94AC3D
monochromatic
#1D2C52 #2D457F #3D5DAC #607DC7 #8DA2D7

Accessibility & contrast

On white

6.25
#3D5DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3D5DAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5DAC
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5DAC#FFFFFF#000000##FFFFFF
##3D5DAC1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3766AF
Deuteranopia (green-blind)
#245CAA
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3d5dac;
/* rgb */ color: rgb(61, 93, 172);
/* oklch */ color: oklch(49.5% 0.131 265.3);
Tailwind
colors: {
  custom: {
    50: '#7e8ac5',
    500: '#3d5dac',
    950: '#000000',
  },
}
SCSS
$custom: #3d5dac;
$custom-light: #7e8ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5dac",
  "rgb": {
    "r": 61,
    "g": 93,
    "b": 172
  },
  "hsl": {
    "h": 222.703,
    "s": 47.639,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49539,
    "c": 0.13147,
    "h": 265.3
  },
  "luminance": 0.11799
}

Semantic roles & 50–950 ramp

primary
#3D5DAC
secondary
#C1AF84
accent
#B051D7
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3D5DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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