#3B5ABD#3B5ABD

#3B5ABD is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.0% C 0.160 H 267.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#3B5ABD
RGBrgb(59, 90, 189)
HSLhsl(226, 52%, 49%)
HSVhsv(226, 69%, 74%)
CMYKcmyk(68.8%, 52.4%, 0%, 25.9%)
CIE-LABlab(41.08, 22.00, -55.54)
CIE-LCHlch(41.08, 59.74, 291.61°)
OKLaboklab(50.01% -0.0076 -0.1596)
OKLCHoklch(50.01% 0.16 267.3)
XYZxyz(14.6419, 11.9148, 49.6624)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5ABD #BD9E3B
analogous
#3B9BBD #3B5ABD #5D3BBD
triadic
#3B5ABD #BD3B5A #5ABD3B
tetradic
#3B5ABD #BD3B9B #BD9E3B #3BBD5D
square
#3B5ABD #BD3B9B #BD9E3B #3BBD5D
split-complementary
#3B5ABD #BD5D3B #9BBD3B
monochromatic
#1E2E60 #2C448E #3B5ABD #667FCF #95A6DE

Accessibility & contrast

On white

6.21
#3B5ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3B5ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5ABD
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5ABD#FFFFFF#000000##FFFFFF
##3B5ABD1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A67C1
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3b5abd;
/* rgb */ color: rgb(59, 90, 189);
/* oklch */ color: oklch(50.0% 0.160 267.3);
Tailwind
colors: {
  custom: {
    50: '#8088d2',
    500: '#3b5abd',
    950: '#000000',
  },
}
SCSS
$custom: #3b5abd;
$custom-light: #8088d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5abd",
  "rgb": {
    "r": 59,
    "g": 90,
    "b": 189
  },
  "hsl": {
    "h": 225.692,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50012,
    "c": 0.15977,
    "h": 267.3
  },
  "luminance": 0.11916
}

Semantic roles & 50–950 ramp

primary
#3B5ABD
secondary
#C9BA8B
accent
#BA4CDC
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3B5ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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