#3F58CF#3F58CF

#3F58CF is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.2% C 0.185 H 269.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#3F58CF
RGBrgb(63, 88, 207)
HSLhsl(230, 60%, 53%)
HSVhsv(230, 70%, 81%)
CMYKcmyk(69.6%, 57.5%, 0%, 18.8%)
CIE-LABlab(42.06, 30.33, -64.37)
CIE-LCHlch(42.06, 71.16, 295.23°)
OKLaboklab(51.22% -0.0011 -0.1855)
OKLCHoklch(51.22% 0.186 269.6)
XYZxyz(16.7983, 12.5395, 60.5545)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F58CF #CFB63F
analogous
#3FA0CF #3F58CF #6E3FCF
triadic
#3F58CF #CF3F58 #58CF3F
tetradic
#3F58CF #CF3FA0 #CFB63F #3FCF6E
square
#3F58CF #CF3FA0 #CFB63F #3FCF6E
split-complementary
#3F58CF #CF6E3F #A0CF3F
monochromatic
#1E2D76 #2A40A7 #3F58CF #7083DB #A1ADE7

Accessibility & contrast

On white

5.99
#3F58CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#3F58CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F58CF
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F58CF#FFFFFF#000000##FFFFFF
##3F58CF1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#005DCD
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3f58cf;
/* rgb */ color: rgb(63, 88, 207);
/* oklch */ color: oklch(51.2% 0.185 269.6);
Tailwind
colors: {
  custom: {
    50: '#8686df',
    500: '#3f58cf',
    950: '#000000',
  },
}
SCSS
$custom: #3f58cf;
$custom-light: #8686df;
$custom-dark: #000000;
JSON
{
  "hex": "#3f58cf",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 229.583,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51215,
    "c": 0.1855,
    "h": 269.6
  },
  "luminance": 0.12541
}

Semantic roles & 50–950 ramp

primary
#3F58CF
secondary
#D4C996
accent
#C845E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #3F58CF

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

Preview Lab → · Contrast checker → · Palette generator →

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