#3D5FCC#3D5FCC

#3D5FCC is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.2% C 0.173 H 267.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#3D5FCC
RGBrgb(61, 95, 204)
HSLhsl(226, 58%, 52%)
HSVhsv(226, 70%, 80%)
CMYKcmyk(70.1%, 53.4%, 0%, 20%)
CIE-LABlab(43.56, 24.51, -60.22)
CIE-LCHlch(43.56, 65.01, 292.15°)
OKLaboklab(52.24% -0.0088 -0.1732)
OKLCHoklch(52.24% 0.173 267.1)
XYZxyz(16.9120, 13.5344, 58.8362)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FCC #CCAA3D
analogous
#3DA7CC #3D5FCC #633DCC
triadic
#3D5FCC #CC3D5F #5FCC3D
tetradic
#3D5FCC #CC3DA7 #CCAA3D #3DCC63
square
#3D5FCC #CC3DA7 #CCAA3D #3DCC63
split-complementary
#3D5FCC #CC633D #A7CC3D
monochromatic
#1E3171 #2A47A1 #3D5FCC #6D87D9 #9EAFE5

Accessibility & contrast

On white

5.66
#3D5FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#3D5FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FCC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FCC#FFFFFF#000000##FFFFFF
##3D5FCC1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6ED0
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3d5fcc;
/* rgb */ color: rgb(61, 95, 204);
/* oklch */ color: oklch(52.2% 0.173 267.1);
Tailwind
colors: {
  custom: {
    50: '#848bdc',
    500: '#3d5fcc',
    950: '#000000',
  },
}
SCSS
$custom: #3d5fcc;
$custom-light: #848bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5fcc",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 204
  },
  "hsl": {
    "h": 225.734,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52243,
    "c": 0.17346,
    "h": 267.1
  },
  "luminance": 0.13536
}

Semantic roles & 50–950 ramp

primary
#3D5FCC
secondary
#D2C393
accent
#BD46E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3D5FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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