#3B5CC7#3B5CC7

#3B5CC7 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.171 H 267.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#3B5CC7
RGBrgb(59, 92, 199)
HSLhsl(226, 56%, 51%)
HSVhsv(226, 70%, 78%)
CMYKcmyk(70.4%, 53.8%, 0%, 22%)
CIE-LABlab(42.32, 24.34, -59.34)
CIE-LCHlch(42.32, 64.14, 292.30°)
OKLaboklab(51.17% -0.0085 -0.1708)
OKLCHoklch(51.17% 0.171 267.2)
XYZxyz(15.9360, 12.7060, 55.6344)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5CC7 #C7A63B
analogous
#3BA2C7 #3B5CC7 #603BC7
triadic
#3B5CC7 #C73B5C #5CC73B
tetradic
#3B5CC7 #C73BA2 #C7A63B #3BC760
square
#3B5CC7 #C73BA2 #C7A63B #3BC760
split-complementary
#3B5CC7 #C7603B #A2C73B
monochromatic
#1E3069 #2C4699 #3B5CC7 #6B84D5 #9AABE2

Accessibility & contrast

On white

5.93
#3B5CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3B5CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5CC7
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5CC7#FFFFFF#000000##FFFFFF
##3B5CC71.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#086BCB
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3b5cc7;
/* rgb */ color: rgb(59, 92, 199);
/* oklch */ color: oklch(51.2% 0.171 267.2);
Tailwind
colors: {
  custom: {
    50: '#8289d9',
    500: '#3b5cc7',
    950: '#000000',
  },
}
SCSS
$custom: #3b5cc7;
$custom-light: #8289d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5cc7",
  "rgb": {
    "r": 59,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 225.857,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51169,
    "c": 0.17097,
    "h": 267.2
  },
  "luminance": 0.12708
}

Semantic roles & 50–950 ramp

primary
#3B5CC7
secondary
#CEBF90
accent
#BC49DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3B5CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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