#3B5EC5#3B5EC5

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

Color values

HEX#3B5EC5
RGBrgb(59, 94, 197)
HSLhsl(225, 54%, 50%)
HSVhsv(225, 70%, 77%)
CMYKcmyk(70.1%, 52.3%, 0%, 22.7%)
CIE-LABlab(42.71, 22.33, -57.55)
CIE-LCHlch(42.71, 61.73, 291.21°)
OKLaboklab(51.42% -0.0103 -0.1655)
OKLCHoklch(51.42% 0.166 266.4)
XYZxyz(15.8809, 12.9648, 54.4780)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5EC5 #C5A23B
analogous
#3BA3C5 #3B5EC5 #5D3BC5
triadic
#3B5EC5 #C53B5E #5EC53B
tetradic
#3B5EC5 #C53BA3 #C5A23B #3BC55D
square
#3B5EC5 #C53BA3 #C5A23B #3BC55D
split-complementary
#3B5EC5 #C55D3B #A3C53B
monochromatic
#1F3167 #2C4796 #3B5EC5 #6A85D3 #99ACE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B5EC5#FFFFFF#000000##FFFFFF
##3B5EC51.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6BC9
Deuteranopia (green-blind)
#005FC3
Tritanopia (blue-blind)
#007788
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3b5ec5;
/* rgb */ color: rgb(59, 94, 197);
/* oklch */ color: oklch(51.4% 0.166 266.4);
Tailwind
colors: {
  custom: {
    50: '#828bd7',
    500: '#3b5ec5',
    950: '#000000',
  },
}
SCSS
$custom: #3b5ec5;
$custom-light: #828bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5ec5",
  "rgb": {
    "r": 59,
    "g": 94,
    "b": 197
  },
  "hsl": {
    "h": 224.783,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51422,
    "c": 0.16578,
    "h": 266.4
  },
  "luminance": 0.12966
}

Semantic roles & 50–950 ramp

primary
#3B5EC5
secondary
#CDBD8F
accent
#B84ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3B5EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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