#3F5CC8#3F5CC8

#3F5CC8 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.4% C 0.171 H 268.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#3F5CC8
RGBrgb(63, 92, 200)
HSLhsl(227, 55%, 52%)
HSVhsv(227, 69%, 78%)
CMYKcmyk(68.5%, 54%, 0%, 21.6%)
CIE-LABlab(42.58, 25.28, -59.49)
CIE-LCHlch(42.58, 64.63, 293.02°)
OKLaboklab(51.44% -0.0047 -0.1711)
OKLCHoklch(51.44% 0.171 268.4)
XYZxyz(16.2988, 12.8796, 56.2594)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5CC8 #C8AB3F
analogous
#3FA1C8 #3F5CC8 #673FC8
triadic
#3F5CC8 #C83F5C #5CC83F
tetradic
#3F5CC8 #C83FA1 #C8AB3F #3FC867
square
#3F5CC8 #C83FA1 #C8AB3F #3FC867
split-complementary
#3F5CC8 #C8673F #A1C83F
monochromatic
#1F306D #2D459D #3F5CC8 #6F84D6 #9EADE3

Accessibility & contrast

On white

5.87
#3F5CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3F5CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5CC8
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5CC8#FFFFFF#000000##FFFFFF
##3F5CC81.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066BCC
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f5cc8;
/* rgb */ color: rgb(63, 92, 200);
/* oklch */ color: oklch(51.4% 0.171 268.4);
Tailwind
colors: {
  custom: {
    50: '#8489d9',
    500: '#3f5cc8',
    950: '#000000',
  },
}
SCSS
$custom: #3f5cc8;
$custom-light: #8489d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5cc8",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 200
  },
  "hsl": {
    "h": 227.299,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51443,
    "c": 0.17117,
    "h": 268.4
  },
  "luminance": 0.12881
}

Semantic roles & 50–950 ramp

primary
#3F5CC8
secondary
#D0C393
accent
#BF49DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F5CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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