#3B5FF5#3B5FF5

#3B5FF5 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.5% C 0.227 H 267.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#3B5FF5
RGBrgb(59, 95, 245)
HSLhsl(228, 90%, 60%)
HSVhsv(228, 76%, 96%)
CMYKcmyk(75.9%, 61.2%, 0%, 3.9%)
CIE-LABlab(46.58, 38.95, -78.55)
CIE-LCHlch(46.58, 87.68, 296.38°)
OKLaboklab(55.46% -0.0093 -0.2271)
OKLCHoklch(55.46% 0.227 267.6)
XYZxyz(22.3715, 15.7043, 88.2207)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5FF5 #F5D13B
analogous
#3BBCF5 #3B5FF5 #743BF5
triadic
#3B5FF5 #F53B5F #5FF53B
tetradic
#3B5FF5 #F53BBC #F5D13B #3BF574
square
#3B5FF5 #F53BBC #F5D13B #3BF574
split-complementary
#3B5FF5 #F5743B #BCF53B
monochromatic
#0929AD #0C36E7 #3B5FF5 #758FF8 #AFBEFB

Accessibility & contrast

On white

5.07
#3B5FF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#3B5FF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5FF5
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5FF5#FFFFFF#000000##FFFFFF
##3B5FF51.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FA
Deuteranopia (green-blind)
#0066F2
Tritanopia (blue-blind)
#0086A1
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3b5ff5;
/* rgb */ color: rgb(59, 95, 245);
/* oklch */ color: oklch(55.5% 0.227 267.6);
Tailwind
colors: {
  custom: {
    50: '#8c8cfa',
    500: '#3b5ff5',
    950: '#000000',
  },
}
SCSS
$custom: #3b5ff5;
$custom-light: #8c8cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5ff5",
  "rgb": {
    "r": 59,
    "g": 95,
    "b": 245
  },
  "hsl": {
    "h": 228.387,
    "s": 90.291,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55455,
    "c": 0.22731,
    "h": 267.6
  },
  "luminance": 0.15707
}

Semantic roles & 50–950 ramp

primary
#3B5FF5
secondary
#EADCA2
accent
#D629FF
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #3B5FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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