#3F58B4#3F58B4

#3F58B4 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.2% C 0.149 H 268.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#3F58B4
RGBrgb(63, 88, 180)
HSLhsl(227, 48%, 48%)
HSVhsv(227, 65%, 71%)
CMYKcmyk(65%, 51.1%, 0%, 29.4%)
CIE-LABlab(40.13, 20.69, -51.79)
CIE-LCHlch(40.13, 55.77, 291.78°)
OKLaboklab(49.15% -0.0028 -0.1485)
OKLCHoklch(49.15% 0.149 268.9)
XYZxyz(13.7750, 11.3303, 44.6322)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F58B4 #B49B3F
analogous
#3F93B4 #3F58B4 #603FB4
triadic
#3F58B4 #B43F58 #58B43F
tetradic
#3F58B4 #B43F93 #B49B3F #3FB460
square
#3F58B4 #B43F93 #B49B3F #3FB460
split-complementary
#3F58B4 #B4603F #93B43F
monochromatic
#1F2C59 #2F4287 #3F58B4 #677CCA #94A3DA

Accessibility & contrast

On white

6.43
#3F58B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#3F58B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F58B4
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F58B4#FFFFFF#000000##FFFFFF
##3F58B41.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2364B7
Deuteranopia (green-blind)
#005AB2
Tritanopia (blue-blind)
#006D7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3f58b4;
/* rgb */ color: rgb(63, 88, 180);
/* oklch */ color: oklch(49.2% 0.149 268.9);
Tailwind
colors: {
  custom: {
    50: '#8086cb',
    500: '#3f58b4',
    950: '#000000',
  },
}
SCSS
$custom: #3f58b4;
$custom-light: #8086cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f58b4",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 180
  },
  "hsl": {
    "h": 227.179,
    "s": 48.148,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49152,
    "c": 0.14854,
    "h": 268.9
  },
  "luminance": 0.11331
}

Semantic roles & 50–950 ramp

primary
#3F58B4
secondary
#C5B88A
accent
#BB50D8
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F58B4

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

Preview Lab → · Contrast checker → · Palette generator →

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