#3D5CC8#3D5CC8

#3D5CC8 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.3% C 0.172 H 267.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#3D5CC8
RGBrgb(61, 92, 200)
HSLhsl(227, 56%, 51%)
HSVhsv(227, 70%, 78%)
CMYKcmyk(69.5%, 54%, 0%, 21.6%)
CIE-LABlab(42.48, 24.99, -59.65)
CIE-LCHlch(42.48, 64.67, 292.73°)
OKLaboklab(51.34% -0.0066 -0.1716)
OKLCHoklch(51.34% 0.172 267.8)
XYZxyz(16.1733, 12.8149, 56.2536)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5CC8 #C8A93D
analogous
#3DA1C8 #3D5CC8 #633DC8
triadic
#3D5CC8 #C83D5C #5CC83D
tetradic
#3D5CC8 #C83DA1 #C8A93D #3DC863
square
#3D5CC8 #C83DA1 #C8A93D #3DC863
split-complementary
#3D5CC8 #C8633D #A1C83D
monochromatic
#1F306C #2C459C #3D5CC8 #6D84D6 #9CACE3

Accessibility & contrast

On white

5.89
#3D5CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#3D5CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5CC8
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5CC8#FFFFFF#000000##FFFFFF
##3D5CC81.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056BCC
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3d5cc8;
/* rgb */ color: rgb(61, 92, 200);
/* oklch */ color: oklch(51.3% 0.172 267.8);
Tailwind
colors: {
  custom: {
    50: '#8389d9',
    500: '#3d5cc8',
    950: '#000000',
  },
}
SCSS
$custom: #3d5cc8;
$custom-light: #8389d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5cc8",
  "rgb": {
    "r": 61,
    "g": 92,
    "b": 200
  },
  "hsl": {
    "h": 226.619,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51343,
    "c": 0.17175,
    "h": 267.8
  },
  "luminance": 0.12817
}

Semantic roles & 50–950 ramp

primary
#3D5CC8
secondary
#CFC192
accent
#BE49DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3D5CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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