#3F59C5#3F59C5

#3F59C5 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.6% C 0.171 H 269.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#3F59C5
RGBrgb(63, 89, 197)
HSLhsl(228, 54%, 51%)
HSVhsv(228, 68%, 77%)
CMYKcmyk(68%, 54.8%, 0%, 22.7%)
CIE-LABlab(41.58, 26.13, -59.37)
CIE-LCHlch(41.58, 64.86, 293.75°)
OKLaboklab(50.62% -0.0023 -0.1708)
OKLCHoklch(50.62% 0.171 269.2)
XYZxyz(15.6969, 12.2312, 54.3461)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F59C5 #C5AB3F
analogous
#3F9CC5 #3F59C5 #683FC5
triadic
#3F59C5 #C53F59 #59C53F
tetradic
#3F59C5 #C53F9C #C5AB3F #3FC568
square
#3F59C5 #C53F9C #C5AB3F #3FC568
split-complementary
#3F59C5 #C5683F #9CC53F
monochromatic
#202E6A #2E4399 #3F59C5 #6E82D3 #9DAAE1

Accessibility & contrast

On white

6.09
#3F59C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#3F59C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F59C5
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F59C5#FFFFFF#000000##FFFFFF
##3F59C51.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#007386
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3f59c5;
/* rgb */ color: rgb(63, 89, 197);
/* oklch */ color: oklch(50.6% 0.171 269.2);
Tailwind
colors: {
  custom: {
    50: '#8487d7',
    500: '#3f59c5',
    950: '#000000',
  },
}
SCSS
$custom: #3f59c5;
$custom-light: #8487d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f59c5",
  "rgb": {
    "r": 63,
    "g": 89,
    "b": 197
  },
  "hsl": {
    "h": 228.358,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50623,
    "c": 0.17082,
    "h": 269.2
  },
  "luminance": 0.12233
}

Semantic roles & 50–950 ramp

primary
#3F59C5
secondary
#CEC292
accent
#C14BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3F59C5

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

Preview Lab → · Contrast checker → · Palette generator →

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