#3B5CCC#3B5CCC

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

Color values

HEX#3B5CCC
RGBrgb(59, 92, 204)
HSLhsl(226, 59%, 52%)
HSVhsv(226, 71%, 80%)
CMYKcmyk(71.1%, 54.9%, 0%, 20%)
CIE-LABlab(42.68, 26.16, -61.65)
CIE-LCHlch(42.68, 66.97, 292.99°)
OKLaboklab(51.55% -0.0081 -0.1775)
OKLCHoklch(51.55% 0.178 267.4)
XYZxyz(16.5261, 12.9420, 58.7421)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5CCC #CCAB3B
analogous
#3BA5CC #3B5CCC #633BCC
triadic
#3B5CCC #CC3B5C #5CCC3B
tetradic
#3B5CCC #CC3BA5 #CCAB3B #3BCC63
square
#3B5CCC #CC3BA5 #CCAB3B #3BCC63
split-complementary
#3B5CCC #CC633B #A5CC3B
monochromatic
#1D3070 #2A45A0 #3B5CCC #6C84D9 #9CADE5

Accessibility & contrast

On white

5.85
#3B5CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#3B5CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5CCC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5CCC#FFFFFF#000000##FFFFFF
##3B5CCC1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#00778B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3b5ccc;
/* rgb */ color: rgb(59, 92, 204);
/* oklch */ color: oklch(51.6% 0.178 267.4);
Tailwind
colors: {
  custom: {
    50: '#8389dc',
    500: '#3b5ccc',
    950: '#000000',
  },
}
SCSS
$custom: #3b5ccc;
$custom-light: #8389dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5ccc",
  "rgb": {
    "r": 59,
    "g": 92,
    "b": 204
  },
  "hsl": {
    "h": 226.345,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51553,
    "c": 0.17773,
    "h": 267.4
  },
  "luminance": 0.12944
}

Semantic roles & 50–950 ramp

primary
#3B5CCC
secondary
#D1C392
accent
#BE46E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3B5CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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