#3B5FAC#3B5FAC

#3B5FAC is a mid, vivid blue. Relative luminance 0.121; OKLCH L 49.9% C 0.130 H 263.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#3B5FAC
RGBrgb(59, 95, 172)
HSLhsl(221, 49%, 45%)
HSVhsv(221, 66%, 67%)
CMYKcmyk(65.7%, 44.8%, 0%, 32.5%)
CIE-LABlab(41.36, 12.59, -45.12)
CIE-LCHlch(41.36, 46.84, 285.60°)
OKLaboklab(49.87% -0.0146 -0.1289)
OKLCHoklch(49.87% 0.13 263.5)
XYZxyz(13.3396, 12.0915, 40.6526)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5FAC #AC883B
analogous
#3B97AC #3B5FAC #4F3BAC
triadic
#3B5FAC #AC3B5F #5FAC3B
tetradic
#3B5FAC #AC3B97 #AC883B #3BAC4F
square
#3B5FAC #AC3B97 #AC883B #3BAC4F
split-complementary
#3B5FAC #AC4F3B #97AC3B
monochromatic
#1C2D51 #2B467E #3B5FAC #5D7FC7 #8AA3D7

Accessibility & contrast

On white

6.14
#3B5FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#3B5FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5FAC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5FAC#FFFFFF#000000##FFFFFF
##3B5FAC1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A67AF
Deuteranopia (green-blind)
#275DAA
Tritanopia (blue-blind)
#00717D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3b5fac;
/* rgb */ color: rgb(59, 95, 172);
/* oklch */ color: oklch(49.9% 0.130 263.5);
Tailwind
colors: {
  custom: {
    50: '#7d8bc5',
    500: '#3b5fac',
    950: '#000000',
  },
}
SCSS
$custom: #3b5fac;
$custom-light: #7d8bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5fac",
  "rgb": {
    "r": 59,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 220.885,
    "s": 48.918,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49871,
    "c": 0.12968,
    "h": 263.5
  },
  "luminance": 0.12093
}

Semantic roles & 50–950 ramp

primary
#3B5FAC
secondary
#C1AD81
accent
#AD4FD8
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3B5FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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