#3B5FBF#3B5FBF

#3B5FBF is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.2% C 0.156 H 265.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#3B5FBF
RGBrgb(59, 95, 191)
HSLhsl(224, 53%, 49%)
HSVhsv(224, 69%, 75%)
CMYKcmyk(69.1%, 50.3%, 0%, 25.1%)
CIE-LABlab(42.57, 19.50, -54.29)
CIE-LCHlch(42.57, 57.69, 289.76°)
OKLaboklab(51.19% -0.0118 -0.1558)
OKLCHoklch(51.19% 0.156 265.7)
XYZxyz(15.2965, 12.8743, 50.9590)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5FBF #BF9B3B
analogous
#3BA1BF #3B5FBF #593BBF
triadic
#3B5FBF #BF3B5F #5FBF3B
tetradic
#3B5FBF #BF3BA1 #BF9B3B #3BBF59
square
#3B5FBF #BF3BA1 #BF9B3B #3BBF59
split-complementary
#3B5FBF #BF593B #A1BF3B
monochromatic
#1E3061 #2D4890 #3B5FBF #6784D0 #96AADF

Accessibility & contrast

On white

5.87
#3B5FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3B5FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5FBF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5FBF#FFFFFF#000000##FFFFFF
##3B5FBF1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276BC2
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3b5fbf;
/* rgb */ color: rgb(59, 95, 191);
/* oklch */ color: oklch(51.2% 0.156 265.7);
Tailwind
colors: {
  custom: {
    50: '#808bd3',
    500: '#3b5fbf',
    950: '#000000',
  },
}
SCSS
$custom: #3b5fbf;
$custom-light: #808bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5fbf",
  "rgb": {
    "r": 59,
    "g": 95,
    "b": 191
  },
  "hsl": {
    "h": 223.636,
    "s": 52.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51188,
    "c": 0.1563,
    "h": 265.7
  },
  "luminance": 0.12876
}

Semantic roles & 50–950 ramp

primary
#3B5FBF
secondary
#CAB98C
accent
#B54CDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3B5FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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