#3B5AC2#3B5AC2

#3B5AC2 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.4% C 0.167 H 267.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#3B5AC2
RGBrgb(59, 90, 194)
HSLhsl(226, 53%, 50%)
HSVhsv(226, 70%, 76%)
CMYKcmyk(69.6%, 53.6%, 0%, 23.9%)
CIE-LABlab(41.43, 23.81, -57.88)
CIE-LCHlch(41.43, 62.59, 292.36°)
OKLaboklab(50.39% -0.0072 -0.1665)
OKLCHoklch(50.39% 0.167 267.5)
XYZxyz(15.1940, 12.1357, 52.5702)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5AC2 #C2A33B
analogous
#3B9EC2 #3B5AC2 #5F3BC2
triadic
#3B5AC2 #C23B5A #5AC23B
tetradic
#3B5AC2 #C23B9E #C2A33B #3BC25F
square
#3B5AC2 #C23B9E #C2A33B #3BC25F
split-complementary
#3B5AC2 #C25F3B #9EC23B
monochromatic
#1E2E64 #2D4493 #3B5AC2 #6981D1 #98A8E0

Accessibility & contrast

On white

6.13
#3B5AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#3B5AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5AC2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5AC2#FFFFFF#000000##FFFFFF
##3B5AC21.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C68C6
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3b5ac2;
/* rgb */ color: rgb(59, 90, 194);
/* oklch */ color: oklch(50.4% 0.167 267.5);
Tailwind
colors: {
  custom: {
    50: '#8188d5',
    500: '#3b5ac2',
    950: '#000000',
  },
}
SCSS
$custom: #3b5ac2;
$custom-light: #8188d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5ac2",
  "rgb": {
    "r": 59,
    "g": 90,
    "b": 194
  },
  "hsl": {
    "h": 226.222,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50388,
    "c": 0.16664,
    "h": 267.5
  },
  "luminance": 0.12137
}

Semantic roles & 50–950 ramp

primary
#3B5AC2
secondary
#CBBD8E
accent
#BB4BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3B5AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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