#3F58C6#3F58C6

#3F58C6 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.5% C 0.173 H 269.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#3F58C6
RGBrgb(63, 88, 198)
HSLhsl(229, 54%, 51%)
HSVhsv(229, 68%, 78%)
CMYKcmyk(68.2%, 55.6%, 0%, 22.4%)
CIE-LABlab(41.39, 27.13, -60.25)
CIE-LCHlch(41.39, 66.08, 294.24°)
OKLaboklab(50.51% -0.0014 -0.1734)
OKLCHoklch(50.51% 0.173 269.5)
XYZxyz(15.7292, 12.1119, 54.9240)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F58C6 #C6AD3F
analogous
#3F9BC6 #3F58C6 #693FC6
triadic
#3F58C6 #C63F58 #58C63F
tetradic
#3F58C6 #C63F9B #C6AD3F #3FC669
square
#3F58C6 #C63F9B #C6AD3F #3FC669
split-complementary
#3F58C6 #C6693F #9BC63F
monochromatic
#202E6B #2E429A #3F58C6 #6E81D4 #9DAAE2

Accessibility & contrast

On white

6.14
#3F58C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#3F58C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F58C6
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F58C6#FFFFFF#000000##FFFFFF
##3F58C61.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f58c6;
/* rgb */ color: rgb(63, 88, 198);
/* oklch */ color: oklch(50.5% 0.173 269.5);
Tailwind
colors: {
  custom: {
    50: '#8486d8',
    500: '#3f58c6',
    950: '#000000',
  },
}
SCSS
$custom: #3f58c6;
$custom-light: #8486d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f58c6",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 198
  },
  "hsl": {
    "h": 228.889,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50505,
    "c": 0.17342,
    "h": 269.5
  },
  "luminance": 0.12113
}

Semantic roles & 50–950 ramp

primary
#3F58C6
secondary
#CEC393
accent
#C24ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F58C6

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

Preview Lab → · Contrast checker → · Palette generator →

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