#3B5FCD#3B5FCD

#3B5FCD is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.2% C 0.175 H 266.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#3B5FCD
RGBrgb(59, 95, 205)
HSLhsl(225, 59%, 52%)
HSVhsv(225, 71%, 80%)
CMYKcmyk(71.2%, 53.7%, 0%, 19.6%)
CIE-LABlab(43.54, 24.60, -60.83)
CIE-LCHlch(43.54, 65.61, 292.02°)
OKLaboklab(52.23% -0.0105 -0.1751)
OKLCHoklch(52.23% 0.175 266.6)
XYZxyz(16.9114, 13.5202, 59.4642)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5FCD #CDA93B
analogous
#3BA8CD #3B5FCD #603BCD
triadic
#3B5FCD #CD3B5F #5FCD3B
tetradic
#3B5FCD #CD3BA8 #CDA93B #3BCD60
square
#3B5FCD #CD3BA8 #CDA93B #3BCD60
split-complementary
#3B5FCD #CD603B #A8CD3B
monochromatic
#1D3271 #2947A2 #3B5FCD #6C87D9 #9DAFE6

Accessibility & contrast

On white

5.67
#3B5FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#3B5FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5FCD
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5FCD#FFFFFF#000000##FFFFFF
##3B5FCD1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#076ED1
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#007A8D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3b5fcd;
/* rgb */ color: rgb(59, 95, 205);
/* oklch */ color: oklch(52.2% 0.175 266.6);
Tailwind
colors: {
  custom: {
    50: '#838bdd',
    500: '#3b5fcd',
    950: '#000000',
  },
}
SCSS
$custom: #3b5fcd;
$custom-light: #838bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5fcd",
  "rgb": {
    "r": 59,
    "g": 95,
    "b": 205
  },
  "hsl": {
    "h": 225.205,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52225,
    "c": 0.17539,
    "h": 266.6
  },
  "luminance": 0.13522
}

Semantic roles & 50–950 ramp

primary
#3B5FCD
secondary
#D2C292
accent
#BC45E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3B5FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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