#3F5BCD#3F5BCD

#3F5BCD is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.6% C 0.179 H 268.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#3F5BCD
RGBrgb(63, 91, 205)
HSLhsl(228, 59%, 53%)
HSVhsv(228, 69%, 80%)
CMYKcmyk(69.3%, 55.6%, 0%, 19.6%)
CIE-LABlab(42.68, 27.71, -62.21)
CIE-LCHlch(42.68, 68.10, 294.01°)
OKLaboklab(51.63% -0.0036 -0.1791)
OKLCHoklch(51.63% 0.179 268.8)
XYZxyz(16.8066, 12.9450, 59.3587)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5BCD #CDB13F
analogous
#3FA2CD #3F5BCD #6A3FCD
triadic
#3F5BCD #CD3F5B #5BCD3F
tetradic
#3F5BCD #CD3FA2 #CDB13F #3FCD6A
square
#3F5BCD #CD3FA2 #CDB13F #3FCD6A
split-complementary
#3F5BCD #CD6A3F #A2CD3F
monochromatic
#1E2F74 #2B43A4 #3F5BCD #7084DA #A0AEE6

Accessibility & contrast

On white

5.85
#3F5BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#3F5BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5BCD
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5BCD#FFFFFF#000000##FFFFFF
##3F5BCD1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f5bcd;
/* rgb */ color: rgb(63, 91, 205);
/* oklch */ color: oklch(51.6% 0.179 268.8);
Tailwind
colors: {
  custom: {
    50: '#8589dd',
    500: '#3f5bcd',
    950: '#000000',
  },
}
SCSS
$custom: #3f5bcd;
$custom-light: #8589dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5bcd",
  "rgb": {
    "r": 63,
    "g": 91,
    "b": 205
  },
  "hsl": {
    "h": 228.169,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51632,
    "c": 0.17916,
    "h": 268.8
  },
  "luminance": 0.12947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F5BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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