#3F58BD#3F58BD

#3F58BD is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.8% C 0.161 H 269.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#3F58BD
RGBrgb(63, 88, 189)
HSLhsl(228, 50%, 49%)
HSVhsv(228, 67%, 74%)
CMYKcmyk(66.7%, 53.4%, 0%, 25.9%)
CIE-LABlab(40.75, 23.91, -56.06)
CIE-LCHlch(40.75, 60.95, 293.10°)
OKLaboklab(49.82% -0.002 -0.1611)
OKLCHoklch(49.82% 0.161 269.3)
XYZxyz(14.7218, 11.7090, 49.6185)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F58BD #BDA43F
analogous
#3F97BD #3F58BD #653FBD
triadic
#3F58BD #BD3F58 #58BD3F
tetradic
#3F58BD #BD3F97 #BDA43F #3FBD65
square
#3F58BD #BD3F97 #BDA43F #3FBD65
split-complementary
#3F58BD #BD653F #97BD3F
monochromatic
#202D61 #30438F #3F58BD #6B7FCE #99A7DD

Accessibility & contrast

On white

6.28
#3F58BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#3F58BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F58BD
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F58BD#FFFFFF#000000##FFFFFF
##3F58BD1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1266C1
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3f58bd;
/* rgb */ color: rgb(63, 88, 189);
/* oklch */ color: oklch(49.8% 0.161 269.3);
Tailwind
colors: {
  custom: {
    50: '#8286d2',
    500: '#3f58bd',
    950: '#000000',
  },
}
SCSS
$custom: #3f58bd;
$custom-light: #8286d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f58bd",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 189
  },
  "hsl": {
    "h": 228.095,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49817,
    "c": 0.16109,
    "h": 269.3
  },
  "luminance": 0.1171
}

Semantic roles & 50–950 ramp

primary
#3F58BD
secondary
#C9BD8F
accent
#BE4EDA
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #3F58BD

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

Preview Lab → · Contrast checker → · Palette generator →

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