#3B5FC2#3B5FC2

#3B5FC2 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.4% C 0.160 H 265.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#3B5FC2
RGBrgb(59, 95, 194)
HSLhsl(224, 53%, 50%)
HSVhsv(224, 70%, 76%)
CMYKcmyk(69.6%, 51%, 0%, 23.9%)
CIE-LABlab(42.77, 20.59, -55.71)
CIE-LCHlch(42.77, 59.39, 290.29°)
OKLaboklab(51.41% -0.0115 -0.16)
OKLCHoklch(51.41% 0.16 265.9)
XYZxyz(15.6300, 13.0077, 52.7155)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5FC2 #C29E3B
analogous
#3BA3C2 #3B5FC2 #5B3BC2
triadic
#3B5FC2 #C23B5F #5FC23B
tetradic
#3B5FC2 #C23BA3 #C29E3B #3BC25B
square
#3B5FC2 #C23BA3 #C29E3B #3BC25B
split-complementary
#3B5FC2 #C25B3B #A3C23B
monochromatic
#1E3164 #2D4893 #3B5FC2 #6985D1 #98ABE0

Accessibility & contrast

On white

5.83
#3B5FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3B5FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5FC2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5FC2#FFFFFF#000000##FFFFFF
##3B5FC21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236CC6
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3b5fc2;
/* rgb */ color: rgb(59, 95, 194);
/* oklch */ color: oklch(51.4% 0.160 265.9);
Tailwind
colors: {
  custom: {
    50: '#818bd5',
    500: '#3b5fc2',
    950: '#000000',
  },
}
SCSS
$custom: #3b5fc2;
$custom-light: #818bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5fc2",
  "rgb": {
    "r": 59,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 224,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51405,
    "c": 0.16043,
    "h": 265.9
  },
  "luminance": 0.13009
}

Semantic roles & 50–950 ramp

primary
#3B5FC2
secondary
#CBBB8E
accent
#B64BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #3B5FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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