#3B5CC4#3B5CC4

#3B5CC4 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.9% C 0.167 H 267.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#3B5CC4
RGBrgb(59, 92, 196)
HSLhsl(226, 54%, 50%)
HSVhsv(226, 70%, 77%)
CMYKcmyk(69.9%, 53.1%, 0%, 23.1%)
CIE-LABlab(42.10, 23.25, -57.95)
CIE-LCHlch(42.10, 62.44, 291.86°)
OKLaboklab(50.94% -0.0087 -0.1667)
OKLCHoklch(50.94% 0.167 267)
XYZxyz(15.5911, 12.5680, 53.8181)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5CC4 #C4A33B
analogous
#3BA1C4 #3B5CC4 #5E3BC4
triadic
#3B5CC4 #C43B5C #5CC43B
tetradic
#3B5CC4 #C43BA1 #C4A33B #3BC45E
square
#3B5CC4 #C43BA1 #C4A33B #3BC45E
split-complementary
#3B5CC4 #C45E3B #A1C43B
monochromatic
#1F3066 #2D4695 #3B5CC4 #6A83D2 #99AAE0

Accessibility & contrast

On white

5.98
#3B5CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#3B5CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5CC4
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5CC4#FFFFFF#000000##FFFFFF
##3B5CC41.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126AC8
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3b5cc4;
/* rgb */ color: rgb(59, 92, 196);
/* oklch */ color: oklch(50.9% 0.167 267.0);
Tailwind
colors: {
  custom: {
    50: '#8189d7',
    500: '#3b5cc4',
    950: '#000000',
  },
}
SCSS
$custom: #3b5cc4;
$custom-light: #8189d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5cc4",
  "rgb": {
    "r": 59,
    "g": 92,
    "b": 196
  },
  "hsl": {
    "h": 225.547,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.50942,
    "c": 0.16689,
    "h": 267
  },
  "luminance": 0.1257
}

Semantic roles & 50–950 ramp

primary
#3B5CC4
secondary
#CCBD8F
accent
#BA4BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3B5CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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