#3F58B2#3F58B2

#3F58B2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.0% C 0.146 H 268.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#3F58B2
RGBrgb(63, 88, 178)
HSLhsl(227, 48%, 47%)
HSVhsv(227, 65%, 70%)
CMYKcmyk(64.6%, 50.6%, 0%, 30.2%)
CIE-LABlab(40.00, 19.98, -50.83)
CIE-LCHlch(40.00, 54.61, 291.46°)
OKLaboklab(49.01% -0.003 -0.1457)
OKLCHoklch(49.01% 0.146 268.8)
XYZxyz(13.5728, 11.2493, 43.5669)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F58B2 #B2993F
analogous
#3F91B2 #3F58B2 #603FB2
triadic
#3F58B2 #B23F58 #58B23F
tetradic
#3F58B2 #B23F91 #B2993F #3FB260
square
#3F58B2 #B23F91 #B2993F #3FB260
split-complementary
#3F58B2 #B2603F #91B23F
monochromatic
#1F2B58 #2F4285 #3F58B2 #667BC9 #93A2D9

Accessibility & contrast

On white

6.46
#3F58B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#3F58B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F58B2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F58B2#FFFFFF#000000##FFFFFF
##3F58B21.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2664B5
Deuteranopia (green-blind)
#0259B0
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3f58b2;
/* rgb */ color: rgb(63, 88, 178);
/* oklch */ color: oklch(49.0% 0.146 268.8);
Tailwind
colors: {
  custom: {
    50: '#8086ca',
    500: '#3f58b2',
    950: '#000000',
  },
}
SCSS
$custom: #3f58b2;
$custom-light: #8086ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f58b2",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 178
  },
  "hsl": {
    "h": 226.957,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49008,
    "c": 0.14571,
    "h": 268.8
  },
  "luminance": 0.11251
}

Semantic roles & 50–950 ramp

primary
#3F58B2
secondary
#C4B789
accent
#BA50D7
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F58B2

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

Preview Lab → · Contrast checker → · Palette generator →

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