#3D5CAA#3D5CAA

#3D5CAA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.2% C 0.130 H 265.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#3D5CAA
RGBrgb(61, 92, 170)
HSLhsl(223, 47%, 45%)
HSVhsv(223, 64%, 67%)
CMYKcmyk(64.1%, 45.9%, 0%, 33.3%)
CIE-LABlab(40.49, 14.17, -45.33)
CIE-LCHlch(40.49, 47.49, 287.35°)
OKLaboklab(49.19% -0.01 -0.1295)
OKLCHoklch(49.19% 0.13 265.6)
XYZxyz(13.0048, 11.5475, 39.5660)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5CAA #AA8B3D
analogous
#3D92AA #3D5CAA #553DAA
triadic
#3D5CAA #AA3D5C #5CAA3D
tetradic
#3D5CAA #AA3D92 #AA8B3D #3DAA55
square
#3D5CAA #AA3D92 #AA8B3D #3DAA55
split-complementary
#3D5CAA #AA553D #92AA3D
monochromatic
#1D2B50 #2D447D #3D5CAA #5F7CC5 #8CA1D6

Accessibility & contrast

On white

6.34
#3D5CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#3D5CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5CAA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5CAA#FFFFFF#000000##FFFFFF
##3D5CAA1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3665AD
Deuteranopia (green-blind)
#245BA8
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3d5caa;
/* rgb */ color: rgb(61, 92, 170);
/* oklch */ color: oklch(49.2% 0.130 265.6);
Tailwind
colors: {
  custom: {
    50: '#7d89c4',
    500: '#3d5caa',
    950: '#000000',
  },
}
SCSS
$custom: #3d5caa;
$custom-light: #7d89c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5caa",
  "rgb": {
    "r": 61,
    "g": 92,
    "b": 170
  },
  "hsl": {
    "h": 222.936,
    "s": 47.186,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49188,
    "c": 0.12988,
    "h": 265.6
  },
  "luminance": 0.11549
}

Semantic roles & 50–950 ramp

primary
#3D5CAA
secondary
#C0AF82
accent
#B151D7
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3D5CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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