#3B5EC7#3B5EC7

#3B5EC7 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.6% C 0.169 H 266.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#3B5EC7
RGBrgb(59, 94, 199)
HSLhsl(225, 56%, 51%)
HSVhsv(225, 70%, 78%)
CMYKcmyk(70.4%, 52.8%, 0%, 22%)
CIE-LABlab(42.85, 23.06, -58.48)
CIE-LCHlch(42.85, 62.86, 291.52°)
OKLaboklab(51.57% -0.0101 -0.1682)
OKLCHoklch(51.57% 0.169 266.6)
XYZxyz(16.1115, 13.0571, 55.6929)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5EC7 #C7A43B
analogous
#3BA4C7 #3B5EC7 #5E3BC7
triadic
#3B5EC7 #C73B5E #5EC73B
tetradic
#3B5EC7 #C73BA4 #C7A43B #3BC75E
square
#3B5EC7 #C73BA4 #C7A43B #3BC75E
split-complementary
#3B5EC7 #C75E3B #A4C73B
monochromatic
#1E3169 #2C4799 #3B5EC7 #6B85D5 #9AACE2

Accessibility & contrast

On white

5.81
#3B5EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#3B5EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5EC7
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5EC7#FFFFFF#000000##FFFFFF
##3B5EC71.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156CCB
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3b5ec7;
/* rgb */ color: rgb(59, 94, 199);
/* oklch */ color: oklch(51.6% 0.169 266.6);
Tailwind
colors: {
  custom: {
    50: '#828bd9',
    500: '#3b5ec7',
    950: '#000000',
  },
}
SCSS
$custom: #3b5ec7;
$custom-light: #828bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5ec7",
  "rgb": {
    "r": 59,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 225,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51571,
    "c": 0.1685,
    "h": 266.6
  },
  "luminance": 0.13059
}

Semantic roles & 50–950 ramp

primary
#3B5EC7
secondary
#CEBE90
accent
#B949DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3B5EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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