#3B5DC6#3B5DC6

#3B5DC6 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.3% C 0.168 H 266.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#3B5DC6
RGBrgb(59, 93, 198)
HSLhsl(225, 55%, 50%)
HSVhsv(225, 70%, 78%)
CMYKcmyk(70.2%, 53%, 0%, 22.4%)
CIE-LABlab(42.51, 23.34, -58.45)
CIE-LCHlch(42.51, 62.94, 291.76°)
OKLaboklab(51.29% -0.0094 -0.1681)
OKLCHoklch(51.29% 0.168 266.8)
XYZxyz(15.9075, 12.8341, 55.0540)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5DC6 #C6A43B
analogous
#3BA2C6 #3B5DC6 #5E3BC6
triadic
#3B5DC6 #C63B5D #5DC63B
tetradic
#3B5DC6 #C63BA2 #C6A43B #3BC65E
square
#3B5DC6 #C63BA2 #C6A43B #3BC65E
split-complementary
#3B5DC6 #C65E3B #A2C63B
monochromatic
#1E3068 #2C4698 #3B5DC6 #6A84D4 #9AABE2

Accessibility & contrast

On white

5.89
#3B5DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#3B5DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5DC6
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5DC6#FFFFFF#000000##FFFFFF
##3B5DC61.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126BCA
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3b5dc6;
/* rgb */ color: rgb(59, 93, 198);
/* oklch */ color: oklch(51.3% 0.168 266.8);
Tailwind
colors: {
  custom: {
    50: '#828ad8',
    500: '#3b5dc6',
    950: '#000000',
  },
}
SCSS
$custom: #3b5dc6;
$custom-light: #828ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5dc6",
  "rgb": {
    "r": 59,
    "g": 93,
    "b": 198
  },
  "hsl": {
    "h": 225.324,
    "s": 54.941,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51294,
    "c": 0.16838,
    "h": 266.8
  },
  "luminance": 0.12836
}

Semantic roles & 50–950 ramp

primary
#3B5DC6
secondary
#CDBE8F
accent
#BA4ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3B5DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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