#3D5EC6#3D5EC6

#3D5EC6 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.6% C 0.167 H 267.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#3D5EC6
RGBrgb(61, 94, 198)
HSLhsl(226, 55%, 51%)
HSVhsv(226, 69%, 78%)
CMYKcmyk(69.2%, 52.5%, 0%, 22.4%)
CIE-LABlab(42.87, 22.98, -57.86)
CIE-LCHlch(42.87, 62.26, 291.66°)
OKLaboklab(51.59% -0.0084 -0.1663)
OKLCHoklch(51.59% 0.167 267.1)
XYZxyz(16.1167, 13.0731, 55.0891)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5EC6 #C6A53D
analogous
#3DA3C6 #3D5EC6 #603DC6
triadic
#3D5EC6 #C63D5E #5EC63D
tetradic
#3D5EC6 #C63DA3 #C6A53D #3DC660
square
#3D5EC6 #C63DA3 #C6A53D #3DC660
split-complementary
#3D5EC6 #C6603D #A3C63D
monochromatic
#1F316A #2D4799 #3D5EC6 #6C85D4 #9CADE2

Accessibility & contrast

On white

5.81
#3D5EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#3D5EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5EC6
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5EC6#FFFFFF#000000##FFFFFF
##3D5EC61.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186CCA
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3d5ec6;
/* rgb */ color: rgb(61, 94, 198);
/* oklch */ color: oklch(51.6% 0.167 267.1);
Tailwind
colors: {
  custom: {
    50: '#838bd8',
    500: '#3d5ec6',
    950: '#000000',
  },
}
SCSS
$custom: #3d5ec6;
$custom-light: #838bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5ec6",
  "rgb": {
    "r": 61,
    "g": 94,
    "b": 198
  },
  "hsl": {
    "h": 225.547,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51593,
    "c": 0.16654,
    "h": 267.1
  },
  "luminance": 0.13075
}

Semantic roles & 50–950 ramp

primary
#3D5EC6
secondary
#CEBF91
accent
#BA4ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3D5EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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