#3F58D4#3F58D4

#3F58D4 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.6% C 0.192 H 269.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#3F58D4
RGBrgb(63, 88, 212)
HSLhsl(230, 63%, 54%)
HSVhsv(230, 70%, 83%)
CMYKcmyk(70.3%, 58.5%, 0%, 16.9%)
CIE-LABlab(42.44, 32.10, -66.62)
CIE-LCHlch(42.44, 73.95, 295.73°)
OKLaboklab(51.62% -0.0011 -0.1921)
OKLCHoklch(51.62% 0.192 269.7)
XYZxyz(17.4192, 12.7879, 63.8249)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F58D4 #D4BB3F
analogous
#3FA3D4 #3F58D4 #713FD4
triadic
#3F58D4 #D43F58 #58D43F
tetradic
#3F58D4 #D43FA3 #D4BB3F #3FD471
square
#3F58D4 #D43FA3 #D4BB3F #3FD471
split-complementary
#3F58D4 #D4713F #A3D43F
monochromatic
#1C2C7D #273EAF #3F58D4 #7183DF #A3AFEA

Accessibility & contrast

On white

5.90
#3F58D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#3F58D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F58D4
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F58D4#FFFFFF#000000##FFFFFF
##3F58D41.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#005ED2
Tritanopia (blue-blind)
#00778D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f58d4;
/* rgb */ color: rgb(63, 88, 212);
/* oklch */ color: oklch(51.6% 0.192 269.7);
Tailwind
colors: {
  custom: {
    50: '#8786e2',
    500: '#3f58d4',
    950: '#000000',
  },
}
SCSS
$custom: #3f58d4;
$custom-light: #8786e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f58d4",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 212
  },
  "hsl": {
    "h": 229.933,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51618,
    "c": 0.19212,
    "h": 269.7
  },
  "luminance": 0.1279
}

Semantic roles & 50–950 ramp

primary
#3F58D4
secondary
#D7CD98
accent
#CB41E6
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #3F58D4

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

Preview Lab → · Contrast checker → · Palette generator →

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