#3B5FBD#3B5FBD

#3B5FBD is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.0% C 0.154 H 265.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#3B5FBD
RGBrgb(59, 95, 189)
HSLhsl(223, 52%, 49%)
HSVhsv(223, 69%, 74%)
CMYKcmyk(68.8%, 49.7%, 0%, 25.9%)
CIE-LABlab(42.44, 18.77, -53.34)
CIE-LCHlch(42.44, 56.55, 289.39°)
OKLaboklab(51.04% -0.012 -0.1531)
OKLCHoklch(51.04% 0.154 265.5)
XYZxyz(15.0779, 12.7868, 49.8077)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5FBD #BD993B
analogous
#3BA0BD #3B5FBD #583BBD
triadic
#3B5FBD #BD3B5F #5FBD3B
tetradic
#3B5FBD #BD3BA0 #BD993B #3BBD58
square
#3B5FBD #BD3BA0 #BD993B #3BBD58
split-complementary
#3B5FBD #BD583B #A0BD3B
monochromatic
#1E3060 #2C488E #3B5FBD #6683CF #95A9DE

Accessibility & contrast

On white

5.90
#3B5FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#3B5FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5FBD
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5FBD#FFFFFF#000000##FFFFFF
##3B5FBD1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6AC0
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3b5fbd;
/* rgb */ color: rgb(59, 95, 189);
/* oklch */ color: oklch(51.0% 0.154 265.5);
Tailwind
colors: {
  custom: {
    50: '#808bd1',
    500: '#3b5fbd',
    950: '#000000',
  },
}
SCSS
$custom: #3b5fbd;
$custom-light: #808bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5fbd",
  "rgb": {
    "r": 59,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 223.385,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51044,
    "c": 0.15353,
    "h": 265.5
  },
  "luminance": 0.12788
}

Semantic roles & 50–950 ramp

primary
#3B5FBD
secondary
#C9B88B
accent
#B44CDC
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3B5FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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