#3D5CA6#3D5CA6

#3D5CA6 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.9% C 0.124 H 265.1°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#3D5CA6
RGBrgb(61, 92, 166)
HSLhsl(222, 46%, 45%)
HSVhsv(222, 63%, 65%)
CMYKcmyk(63.3%, 44.6%, 0%, 34.9%)
CIE-LABlab(40.24, 12.73, -43.35)
CIE-LCHlch(40.24, 45.18, 286.37°)
OKLaboklab(48.92% -0.0107 -0.1237)
OKLCHoklch(48.92% 0.124 265.1)
XYZxyz(12.6322, 11.3984, 37.6034)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5CA6 #A6873D
analogous
#3D91A6 #3D5CA6 #533DA6
triadic
#3D5CA6 #A63D5C #5CA63D
tetradic
#3D5CA6 #A63D91 #A6873D #3DA653
square
#3D5CA6 #A63D91 #A6873D #3DA653
split-complementary
#3D5CA6 #A6533D #91A63D
monochromatic
#1C2A4C #2D4379 #3D5CA6 #5D7BC3 #8A9FD4

Accessibility & contrast

On white

6.40
#3D5CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3D5CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5CA6
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5CA6#FFFFFF#000000##FFFFFF
##3D5CA61.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A64A9
Deuteranopia (green-blind)
#295AA4
Tritanopia (blue-blind)
#006D79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3d5ca6;
/* rgb */ color: rgb(61, 92, 166);
/* oklch */ color: oklch(48.9% 0.124 265.1);
Tailwind
colors: {
  custom: {
    50: '#7d89c1',
    500: '#3d5ca6',
    950: '#000000',
  },
}
SCSS
$custom: #3d5ca6;
$custom-light: #7d89c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5ca6",
  "rgb": {
    "r": 61,
    "g": 92,
    "b": 166
  },
  "hsl": {
    "h": 222.286,
    "s": 46.256,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48922,
    "c": 0.12413,
    "h": 265.1
  },
  "luminance": 0.114
}

Semantic roles & 50–950 ramp

primary
#3D5CA6
secondary
#BEAC80
accent
#AF52D6
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3D5CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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