#3B5FCC#3B5FCC

#3B5FCC is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.1% C 0.174 H 266.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#3B5FCC
RGBrgb(59, 95, 204)
HSLhsl(225, 59%, 52%)
HSVhsv(225, 71%, 80%)
CMYKcmyk(71.1%, 53.4%, 0%, 20%)
CIE-LABlab(43.47, 24.23, -60.37)
CIE-LCHlch(43.47, 65.05, 291.87°)
OKLaboklab(52.15% -0.0105 -0.1737)
OKLCHoklch(52.15% 0.174 266.5)
XYZxyz(16.7911, 13.4721, 58.8305)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5FCC #CCA83B
analogous
#3BA8CC #3B5FCC #603BCC
triadic
#3B5FCC #CC3B5F #5FCC3B
tetradic
#3B5FCC #CC3BA8 #CCA83B #3BCC60
square
#3B5FCC #CC3BA8 #CCA83B #3BCC60
split-complementary
#3B5FCC #CC603B #A8CC3B
monochromatic
#1D3270 #2A47A0 #3B5FCC #6C87D9 #9CAEE5

Accessibility & contrast

On white

5.68
#3B5FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#3B5FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5FCC
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5FCC#FFFFFF#000000##FFFFFF
##3B5FCC1.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B6ED0
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3b5fcc;
/* rgb */ color: rgb(59, 95, 204);
/* oklch */ color: oklch(52.1% 0.174 266.5);
Tailwind
colors: {
  custom: {
    50: '#838bdc',
    500: '#3b5fcc',
    950: '#000000',
  },
}
SCSS
$custom: #3b5fcc;
$custom-light: #838bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5fcc",
  "rgb": {
    "r": 59,
    "g": 95,
    "b": 204
  },
  "hsl": {
    "h": 225.103,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52149,
    "c": 0.17405,
    "h": 266.5
  },
  "luminance": 0.13474
}

Semantic roles & 50–950 ramp

primary
#3B5FCC
secondary
#D1C192
accent
#BB46E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3B5FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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