#3B5FCE#3B5FCE

#3B5FCE is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.3% C 0.177 H 266.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#3B5FCE
RGBrgb(59, 95, 206)
HSLhsl(225, 60%, 52%)
HSVhsv(225, 71%, 81%)
CMYKcmyk(71.4%, 53.9%, 0%, 19.2%)
CIE-LABlab(43.61, 24.96, -61.29)
CIE-LCHlch(43.61, 66.18, 292.16°)
OKLaboklab(52.3% -0.0104 -0.1764)
OKLCHoklch(52.3% 0.177 266.6)
XYZxyz(17.0325, 13.5687, 60.1019)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5FCE #CEAA3B
analogous
#3BA9CE #3B5FCE #613BCE
triadic
#3B5FCE #CE3B5F #5FCE3B
tetradic
#3B5FCE #CE3BA9 #CEAA3B #3BCE61
square
#3B5FCE #CE3BA9 #CEAA3B #3BCE61
split-complementary
#3B5FCE #CE613B #A9CE3B
monochromatic
#1D3172 #2947A3 #3B5FCE #6C87DA #9DAFE6

Accessibility & contrast

On white

5.65
#3B5FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#3B5FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5FCE
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5FCE#FFFFFF#000000##FFFFFF
##3B5FCE1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026ED2
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#007A8D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3b5fce;
/* rgb */ color: rgb(59, 95, 206);
/* oklch */ color: oklch(52.3% 0.177 266.6);
Tailwind
colors: {
  custom: {
    50: '#838bde',
    500: '#3b5fce',
    950: '#000000',
  },
}
SCSS
$custom: #3b5fce;
$custom-light: #838bde;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5fce",
  "rgb": {
    "r": 59,
    "g": 95,
    "b": 206
  },
  "hsl": {
    "h": 225.306,
    "s": 60,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52301,
    "c": 0.17675,
    "h": 266.6
  },
  "luminance": 0.1357
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B5FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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