#3B5CD1#3B5CD1

#3B5CD1 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.9% C 0.184 H 267.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#3B5CD1
RGBrgb(59, 92, 209)
HSLhsl(227, 62%, 53%)
HSVhsv(227, 72%, 82%)
CMYKcmyk(71.8%, 56%, 0%, 18%)
CIE-LABlab(43.04, 27.97, -63.93)
CIE-LCHlch(43.04, 69.78, 293.63°)
OKLaboklab(51.94% -0.0079 -0.1842)
OKLCHoklch(51.94% 0.184 267.6)
XYZxyz(17.1354, 13.1858, 61.9513)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5CD1 #D1B03B
analogous
#3BA7D1 #3B5CD1 #653BD1
triadic
#3B5CD1 #D13B5C #5CD13B
tetradic
#3B5CD1 #D13BA7 #D1B03B #3BD165
square
#3B5CD1 #D13BA7 #D1B03B #3BD165
split-complementary
#3B5CD1 #D1653B #A7D13B
monochromatic
#1C3076 #2744A7 #3B5CD1 #6D85DD #9EAEE8

Accessibility & contrast

On white

5.77
#3B5CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#3B5CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5CD1
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5CD1#FFFFFF#000000##FFFFFF
##3B5CD11.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD5
Deuteranopia (green-blind)
#005FCF
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3b5cd1;
/* rgb */ color: rgb(59, 92, 209);
/* oklch */ color: oklch(51.9% 0.184 267.6);
Tailwind
colors: {
  custom: {
    50: '#8489e0',
    500: '#3b5cd1',
    950: '#000000',
  },
}
SCSS
$custom: #3b5cd1;
$custom-light: #8489e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5cd1",
  "rgb": {
    "r": 59,
    "g": 92,
    "b": 209
  },
  "hsl": {
    "h": 226.8,
    "s": 61.983,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51944,
    "c": 0.18442,
    "h": 267.6
  },
  "luminance": 0.13188
}

Semantic roles & 50–950 ramp

primary
#3B5CD1
secondary
#D4C693
accent
#C143E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3B5CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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