#3F5CC9#3F5CC9

#3F5CC9 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.5% C 0.173 H 268.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#3F5CC9
RGBrgb(63, 92, 201)
HSLhsl(227, 56%, 52%)
HSVhsv(227, 69%, 79%)
CMYKcmyk(68.7%, 54.2%, 0%, 21.2%)
CIE-LABlab(42.65, 25.64, -59.95)
CIE-LCHlch(42.65, 65.20, 293.15°)
OKLaboklab(51.52% -0.0047 -0.1725)
OKLCHoklch(51.52% 0.173 268.5)
XYZxyz(16.4160, 12.9265, 56.8769)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5CC9 #C9AC3F
analogous
#3FA1C9 #3F5CC9 #673FC9
triadic
#3F5CC9 #C93F5C #5CC93F
tetradic
#3F5CC9 #C93FA1 #C9AC3F #3FC967
square
#3F5CC9 #C93FA1 #C9AC3F #3FC967
split-complementary
#3F5CC9 #C9673F #A1C93F
monochromatic
#1F306F #2D449E #3F5CC9 #6F85D6 #9FADE4

Accessibility & contrast

On white

5.86
#3F5CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3F5CC9
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5CC9#FFFFFF#000000##FFFFFF
##3F5CC91.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026BCD
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f5cc9;
/* rgb */ color: rgb(63, 92, 201);
/* oklch */ color: oklch(51.5% 0.173 268.5);
Tailwind
colors: {
  custom: {
    50: '#8489da',
    500: '#3f5cc9',
    950: '#000000',
  },
}
SCSS
$custom: #3f5cc9;
$custom-light: #8489da;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5cc9",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 201
  },
  "hsl": {
    "h": 227.391,
    "s": 56.098,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51519,
    "c": 0.17252,
    "h": 268.5
  },
  "luminance": 0.12928
}

Semantic roles & 50–950 ramp

primary
#3F5CC9
secondary
#D0C394
accent
#C048DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F5CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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