#3F5BCF#3F5BCF

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

Color values

HEX#3F5BCF
RGBrgb(63, 91, 207)
HSLhsl(228, 60%, 53%)
HSVhsv(228, 70%, 81%)
CMYKcmyk(69.6%, 56%, 0%, 18.8%)
CIE-LABlab(42.83, 28.42, -63.12)
CIE-LCHlch(42.83, 69.23, 294.24°)
OKLaboklab(51.79% -0.0035 -0.1818)
OKLCHoklch(51.79% 0.182 268.9)
XYZxyz(17.0496, 13.0422, 60.6383)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5BCF #CFB33F
analogous
#3FA3CF #3F5BCF #6B3FCF
triadic
#3F5BCF #CF3F5B #5BCF3F
tetradic
#3F5BCF #CF3FA3 #CFB33F #3FCF6B
square
#3F5BCF #CF3FA3 #CFB33F #3FCF6B
split-complementary
#3F5BCF #CF6B3F #A3CF3F
monochromatic
#1E2F76 #2A42A7 #3F5BCF #7085DB #A1AFE7

Accessibility & contrast

On white

5.82
#3F5BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#3F5BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5BCF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5BCF#FFFFFF#000000##FFFFFF
##3F5BCF1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#005FCD
Tritanopia (blue-blind)
#00778C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f5bcf;
/* rgb */ color: rgb(63, 91, 207);
/* oklch */ color: oklch(51.8% 0.182 268.9);
Tailwind
colors: {
  custom: {
    50: '#8589de',
    500: '#3f5bcf',
    950: '#000000',
  },
}
SCSS
$custom: #3f5bcf;
$custom-light: #8589de;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5bcf",
  "rgb": {
    "r": 63,
    "g": 91,
    "b": 207
  },
  "hsl": {
    "h": 228.333,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51788,
    "c": 0.18184,
    "h": 268.9
  },
  "luminance": 0.13044
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F5BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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