#3F5BCE#3F5BCE

#3F5BCE is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.7% C 0.180 H 268.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#3F5BCE
RGBrgb(63, 91, 206)
HSLhsl(228, 59%, 53%)
HSVhsv(228, 69%, 81%)
CMYKcmyk(69.4%, 55.8%, 0%, 19.2%)
CIE-LABlab(42.75, 28.07, -62.67)
CIE-LCHlch(42.75, 68.66, 294.13°)
OKLaboklab(51.71% -0.0036 -0.1805)
OKLCHoklch(51.71% 0.181 268.9)
XYZxyz(16.9277, 12.9935, 59.9964)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5BCE #CEB23F
analogous
#3FA2CE #3F5BCE #6B3FCE
triadic
#3F5BCE #CE3F5B #5BCE3F
tetradic
#3F5BCE #CE3FA2 #CEB23F #3FCE6B
square
#3F5BCE #CE3FA2 #CEB23F #3FCE6B
split-complementary
#3F5BCE #CE6B3F #A2CE3F
monochromatic
#1E2F75 #2A42A6 #3F5BCE #7085DA #A1AEE7

Accessibility & contrast

On white

5.83
#3F5BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3F5BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5BCE
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5BCE#FFFFFF#000000##FFFFFF
##3F5BCE1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#00778B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f5bce;
/* rgb */ color: rgb(63, 91, 206);
/* oklch */ color: oklch(51.7% 0.180 268.9);
Tailwind
colors: {
  custom: {
    50: '#8589de',
    500: '#3f5bce',
    950: '#000000',
  },
}
SCSS
$custom: #3f5bce;
$custom-light: #8589de;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5bce",
  "rgb": {
    "r": 63,
    "g": 91,
    "b": 206
  },
  "hsl": {
    "h": 228.252,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5171,
    "c": 0.1805,
    "h": 268.9
  },
  "luminance": 0.12995
}

Semantic roles & 50–950 ramp

primary
#3F5BCE
secondary
#D3C795
accent
#C445E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F5BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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