#3B5ECC#3B5ECC

#3B5ECC is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.9% C 0.175 H 266.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#3B5ECC
RGBrgb(59, 94, 204)
HSLhsl(226, 59%, 52%)
HSVhsv(226, 71%, 80%)
CMYKcmyk(71.1%, 53.9%, 0%, 20%)
CIE-LABlab(43.20, 24.88, -60.80)
CIE-LCHlch(43.20, 65.69, 292.25°)
OKLaboklab(51.95% -0.0097 -0.175)
OKLCHoklch(51.95% 0.175 266.8)
XYZxyz(16.7016, 13.2931, 58.8007)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5ECC #CCA93B
analogous
#3BA7CC #3B5ECC #613BCC
triadic
#3B5ECC #CC3B5E #5ECC3B
tetradic
#3B5ECC #CC3BA7 #CCA93B #3BCC61
square
#3B5ECC #CC3BA7 #CCA93B #3BCC61
split-complementary
#3B5ECC #CC613B #A7CC3B
monochromatic
#1D3170 #2A46A0 #3B5ECC #6C86D9 #9CAEE5

Accessibility & contrast

On white

5.74
#3B5ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#3B5ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5ECC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5ECC#FFFFFF#000000##FFFFFF
##3B5ECC1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036DD0
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3b5ecc;
/* rgb */ color: rgb(59, 94, 204);
/* oklch */ color: oklch(51.9% 0.175 266.8);
Tailwind
colors: {
  custom: {
    50: '#838bdc',
    500: '#3b5ecc',
    950: '#000000',
  },
}
SCSS
$custom: #3b5ecc;
$custom-light: #838bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5ecc",
  "rgb": {
    "r": 59,
    "g": 94,
    "b": 204
  },
  "hsl": {
    "h": 225.517,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51949,
    "c": 0.17527,
    "h": 266.8
  },
  "luminance": 0.13295
}

Semantic roles & 50–950 ramp

primary
#3B5ECC
secondary
#D1C292
accent
#BC46E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3B5ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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