#3F58BF#3F58BF

#3F58BF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.0% C 0.164 H 269.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#3F58BF
RGBrgb(63, 88, 191)
HSLhsl(228, 50%, 50%)
HSVhsv(228, 67%, 75%)
CMYKcmyk(67%, 53.9%, 0%, 25.1%)
CIE-LABlab(40.89, 24.62, -57.00)
CIE-LCHlch(40.89, 62.09, 293.36°)
OKLaboklab(49.97% -0.0018 -0.1638)
OKLCHoklch(49.97% 0.164 269.4)
XYZxyz(14.9404, 11.7964, 50.7697)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F58BF #BFA63F
analogous
#3F98BF #3F58BF #663FBF
triadic
#3F58BF #BF3F58 #58BF3F
tetradic
#3F58BF #BF3F98 #BFA63F #3FBF66
square
#3F58BF #BF3F98 #BFA63F #3FBF66
split-complementary
#3F58BF #BF663F #98BF3F
monochromatic
#212E63 #304391 #3F58BF #6D80CF #9BA8DE

Accessibility & contrast

On white

6.25
#3F58BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3F58BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F58BF
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F58BF#FFFFFF#000000##FFFFFF
##3F58BF1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C66C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3f58bf;
/* rgb */ color: rgb(63, 88, 191);
/* oklch */ color: oklch(50.0% 0.164 269.4);
Tailwind
colors: {
  custom: {
    50: '#8286d3',
    500: '#3f58bf',
    950: '#000000',
  },
}
SCSS
$custom: #3f58bf;
$custom-light: #8286d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f58bf",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 228.281,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49968,
    "c": 0.16385,
    "h": 269.4
  },
  "luminance": 0.11798
}

Semantic roles & 50–950 ramp

primary
#3F58BF
secondary
#CABF90
accent
#BF4EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3F58BF

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

Preview Lab → · Contrast checker → · Palette generator →

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