#3B5CCD#3B5CCD

#3B5CCD is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.6% C 0.179 H 267.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#3B5CCD
RGBrgb(59, 92, 205)
HSLhsl(226, 59%, 52%)
HSVhsv(226, 71%, 80%)
CMYKcmyk(71.2%, 55.1%, 0%, 19.6%)
CIE-LABlab(42.75, 26.52, -62.11)
CIE-LCHlch(42.75, 67.53, 293.12°)
OKLaboklab(51.63% -0.0081 -0.1789)
OKLCHoklch(51.63% 0.179 267.4)
XYZxyz(16.6464, 12.9902, 59.3758)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5CCD #CDAC3B
analogous
#3BA5CD #3B5CCD #633BCD
triadic
#3B5CCD #CD3B5C #5CCD3B
tetradic
#3B5CCD #CD3BA5 #CDAC3B #3BCD63
square
#3B5CCD #CD3BA5 #CDAC3B #3BCD63
split-complementary
#3B5CCD #CD633B #A5CD3B
monochromatic
#1D3071 #2944A2 #3B5CCD #6C85D9 #9DADE6

Accessibility & contrast

On white

5.84
#3B5CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3B5CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5CCD
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5CCD#FFFFFF#000000##FFFFFF
##3B5CCD1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3b5ccd;
/* rgb */ color: rgb(59, 92, 205);
/* oklch */ color: oklch(51.6% 0.179 267.4);
Tailwind
colors: {
  custom: {
    50: '#8389dd',
    500: '#3b5ccd',
    950: '#000000',
  },
}
SCSS
$custom: #3b5ccd;
$custom-light: #8389dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5ccd",
  "rgb": {
    "r": 59,
    "g": 92,
    "b": 205
  },
  "hsl": {
    "h": 226.438,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51631,
    "c": 0.17907,
    "h": 267.4
  },
  "luminance": 0.12992
}

Semantic roles & 50–950 ramp

primary
#3B5CCD
secondary
#D2C392
accent
#BF45E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3B5CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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