#3B5CC3#3B5CC3

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

Color values

HEX#3B5CC3
RGBrgb(59, 92, 195)
HSLhsl(225, 54%, 50%)
HSVhsv(225, 70%, 76%)
CMYKcmyk(69.7%, 52.8%, 0%, 23.5%)
CIE-LABlab(42.04, 22.89, -57.48)
CIE-LCHlch(42.04, 61.87, 291.71°)
OKLaboklab(50.87% -0.0088 -0.1653)
OKLCHoklch(50.87% 0.166 267)
XYZxyz(15.4777, 12.5227, 53.2206)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5CC3 #C3A23B
analogous
#3BA0C3 #3B5CC3 #5E3BC3
triadic
#3B5CC3 #C33B5C #5CC33B
tetradic
#3B5CC3 #C33BA0 #C3A23B #3BC35E
square
#3B5CC3 #C33BA0 #C3A23B #3BC35E
split-complementary
#3B5CC3 #C35E3B #A0C33B
monochromatic
#1F3065 #2D4694 #3B5CC3 #6983D2 #98AAE0

Accessibility & contrast

On white

5.99
#3B5CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#3B5CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5CC3
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5CC3#FFFFFF#000000##FFFFFF
##3B5CC31.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156AC7
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3b5cc3;
/* rgb */ color: rgb(59, 92, 195);
/* oklch */ color: oklch(50.9% 0.166 267.0);
Tailwind
colors: {
  custom: {
    50: '#8189d6',
    500: '#3b5cc3',
    950: '#000000',
  },
}
SCSS
$custom: #3b5cc3;
$custom-light: #8189d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5cc3",
  "rgb": {
    "r": 59,
    "g": 92,
    "b": 195
  },
  "hsl": {
    "h": 225.441,
    "s": 53.543,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50867,
    "c": 0.16552,
    "h": 267
  },
  "luminance": 0.12524
}

Semantic roles & 50–950 ramp

primary
#3B5CC3
secondary
#CCBD8E
accent
#B94BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3B5CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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