#3B5FD4#3B5FD4

#3B5FD4 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.8% C 0.185 H 266.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#3B5FD4
RGBrgb(59, 95, 212)
HSLhsl(226, 64%, 53%)
HSVhsv(226, 72%, 83%)
CMYKcmyk(72.2%, 55.2%, 0%, 16.9%)
CIE-LABlab(44.04, 27.14, -64.03)
CIE-LCHlch(44.04, 69.54, 292.97°)
OKLaboklab(52.76% -0.01 -0.1845)
OKLCHoklch(52.76% 0.185 266.9)
XYZxyz(17.7754, 13.8658, 64.0142)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5FD4 #D4B03B
analogous
#3BACD4 #3B5FD4 #633BD4
triadic
#3B5FD4 #D43B5F #5FD43B
tetradic
#3B5FD4 #D43BAC #D4B03B #3BD463
square
#3B5FD4 #D43BAC #D4B03B #3BD463
split-complementary
#3B5FD4 #D4633B #ACD43B
monochromatic
#1B317A #2645AC #3B5FD4 #6D88DF #9FB1EA

Accessibility & contrast

On white

5.56
#3B5FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#3B5FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5FD4
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5FD4#FFFFFF#000000##FFFFFF
##3B5FD41.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#0061D2
Tritanopia (blue-blind)
#007C90
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3b5fd4;
/* rgb */ color: rgb(59, 95, 212);
/* oklch */ color: oklch(52.8% 0.185 266.9);
Tailwind
colors: {
  custom: {
    50: '#858be2',
    500: '#3b5fd4',
    950: '#000000',
  },
}
SCSS
$custom: #3b5fd4;
$custom-light: #858be2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5fd4",
  "rgb": {
    "r": 59,
    "g": 95,
    "b": 212
  },
  "hsl": {
    "h": 225.882,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52763,
    "c": 0.18477,
    "h": 266.9
  },
  "luminance": 0.13868
}

Semantic roles & 50–950 ramp

primary
#3B5FD4
secondary
#D6C794
accent
#C041E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3B5FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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