#3B5DC2#3B5DC2

#3B5DC2 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.0% C 0.163 H 266.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#3B5DC2
RGBrgb(59, 93, 194)
HSLhsl(225, 53%, 50%)
HSVhsv(225, 70%, 76%)
CMYKcmyk(69.6%, 52.1%, 0%, 23.9%)
CIE-LABlab(42.23, 21.88, -56.58)
CIE-LCHlch(42.23, 60.67, 291.14°)
OKLaboklab(51% -0.0097 -0.1626)
OKLCHoklch(51% 0.163 266.6)
XYZxyz(15.4522, 12.6520, 52.6562)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5DC2 #C2A03B
analogous
#3BA1C2 #3B5DC2 #5D3BC2
triadic
#3B5DC2 #C23B5D #5DC23B
tetradic
#3B5DC2 #C23BA1 #C2A03B #3BC25D
square
#3B5DC2 #C23BA1 #C2A03B #3BC25D
split-complementary
#3B5DC2 #C25D3B #A1C23B
monochromatic
#1E3064 #2D4793 #3B5DC2 #6983D1 #98AAE0

Accessibility & contrast

On white

5.95
#3B5DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#3B5DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5DC2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5DC2#FFFFFF#000000##FFFFFF
##3B5DC21.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6AC6
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3b5dc2;
/* rgb */ color: rgb(59, 93, 194);
/* oklch */ color: oklch(51.0% 0.163 266.6);
Tailwind
colors: {
  custom: {
    50: '#818ad5',
    500: '#3b5dc2',
    950: '#000000',
  },
}
SCSS
$custom: #3b5dc2;
$custom-light: #818ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5dc2",
  "rgb": {
    "r": 59,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 224.889,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50995,
    "c": 0.16291,
    "h": 266.6
  },
  "luminance": 0.12654
}

Semantic roles & 50–950 ramp

primary
#3B5DC2
secondary
#CBBC8E
accent
#B84BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3B5DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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