#3D5DCC#3D5DCC

#3D5DCC is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.8% C 0.176 H 267.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#3D5DCC
RGBrgb(61, 93, 204)
HSLhsl(227, 58%, 52%)
HSVhsv(227, 70%, 80%)
CMYKcmyk(70.1%, 54.4%, 0%, 20%)
CIE-LABlab(43.03, 25.79, -61.07)
CIE-LCHlch(43.03, 66.29, 292.90°)
OKLaboklab(51.85% -0.0071 -0.1758)
OKLCHoklch(51.85% 0.176 267.7)
XYZxyz(16.7341, 13.1787, 58.7769)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5DCC #CCAC3D
analogous
#3DA5CC #3D5DCC #643DCC
triadic
#3D5DCC #CC3D5D #5DCC3D
tetradic
#3D5DCC #CC3DA5 #CCAC3D #3DCC64
square
#3D5DCC #CC3DA5 #CCAC3D #3DCC64
split-complementary
#3D5DCC #CC643D #A5CC3D
monochromatic
#1E3071 #2A45A1 #3D5DCC #6D85D9 #9EAEE5

Accessibility & contrast

On white

5.78
#3D5DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#3D5DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5DCC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5DCC#FFFFFF#000000##FFFFFF
##3D5DCC1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3d5dcc;
/* rgb */ color: rgb(61, 93, 204);
/* oklch */ color: oklch(51.8% 0.176 267.7);
Tailwind
colors: {
  custom: {
    50: '#848adc',
    500: '#3d5dcc',
    950: '#000000',
  },
}
SCSS
$custom: #3d5dcc;
$custom-light: #848adc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5dcc",
  "rgb": {
    "r": 61,
    "g": 93,
    "b": 204
  },
  "hsl": {
    "h": 226.573,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51846,
    "c": 0.17592,
    "h": 267.7
  },
  "luminance": 0.1318
}

Semantic roles & 50–950 ramp

primary
#3D5DCC
secondary
#D2C493
accent
#BF46E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3D5DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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