#3D5EC7#3D5EC7

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

Color values

HEX#3D5EC7
RGBrgb(61, 94, 199)
HSLhsl(226, 55%, 51%)
HSVhsv(226, 69%, 78%)
CMYKcmyk(69.3%, 52.8%, 0%, 22%)
CIE-LABlab(42.94, 23.34, -58.33)
CIE-LCHlch(42.94, 62.83, 291.81°)
OKLaboklab(51.67% -0.0083 -0.1677)
OKLCHoklch(51.67% 0.168 267.1)
XYZxyz(16.2324, 13.1194, 55.6986)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5EC7 #C7A63D
analogous
#3DA3C7 #3D5EC7 #613DC7
triadic
#3D5EC7 #C73D5E #5EC73D
tetradic
#3D5EC7 #C73DA3 #C7A63D #3DC761
square
#3D5EC7 #C73DA3 #C7A63D #3DC761
split-complementary
#3D5EC7 #C7613D #A3C73D
monochromatic
#1F316B #2D479A #3D5EC7 #6C85D5 #9CADE2

Accessibility & contrast

On white

5.79
#3D5EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3D5EC7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5EC7#FFFFFF#000000##FFFFFF
##3D5EC71.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166CCB
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3d5ec7;
/* rgb */ color: rgb(61, 94, 199);
/* oklch */ color: oklch(51.7% 0.168 267.1);
Tailwind
colors: {
  custom: {
    50: '#838bd9',
    500: '#3d5ec7',
    950: '#000000',
  },
}
SCSS
$custom: #3d5ec7;
$custom-light: #838bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5ec7",
  "rgb": {
    "r": 61,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 225.652,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51667,
    "c": 0.16791,
    "h": 267.1
  },
  "luminance": 0.13121
}

Semantic roles & 50–950 ramp

primary
#3D5EC7
secondary
#CEC091
accent
#BB49DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3D5EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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