#3B5FBB#3B5FBB

#3B5FBB is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.9% C 0.151 H 265.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#3B5FBB
RGBrgb(59, 95, 187)
HSLhsl(223, 52%, 48%)
HSVhsv(223, 68%, 73%)
CMYKcmyk(68.4%, 49.2%, 0%, 26.7%)
CIE-LABlab(42.31, 18.04, -52.39)
CIE-LCHlch(42.31, 55.41, 289.00°)
OKLaboklab(50.9% -0.0123 -0.1502)
OKLCHoklch(50.9% 0.151 265.3)
XYZxyz(14.8623, 12.7006, 48.6723)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5FBB #BB973B
analogous
#3B9FBB #3B5FBB #573BBB
triadic
#3B5FBB #BB3B5F #5FBB3B
tetradic
#3B5FBB #BB3B9F #BB973B #3BBB57
square
#3B5FBB #BB3B9F #BB973B #3BBB57
split-complementary
#3B5FBB #BB573B #9FBB3B
monochromatic
#1E305E #2C478C #3B5FBB #6583CE #93A8DD

Accessibility & contrast

On white

5.93
#3B5FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3B5FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5FBB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5FBB#FFFFFF#000000##FFFFFF
##3B5FBB1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6ABE
Deuteranopia (green-blind)
#045EB9
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3b5fbb;
/* rgb */ color: rgb(59, 95, 187);
/* oklch */ color: oklch(50.9% 0.151 265.3);
Tailwind
colors: {
  custom: {
    50: '#808bd0',
    500: '#3b5fbb',
    950: '#000000',
  },
}
SCSS
$custom: #3b5fbb;
$custom-light: #808bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5fbb",
  "rgb": {
    "r": 59,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 223.125,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50902,
    "c": 0.15075,
    "h": 265.3
  },
  "luminance": 0.12702
}

Semantic roles & 50–950 ramp

primary
#3B5FBB
secondary
#C8B78A
accent
#B34CDB
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3B5FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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