#3F58AE#3F58AE

#3F58AE is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.7% C 0.140 H 268.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#3F58AE
RGBrgb(63, 88, 174)
HSLhsl(226, 47%, 46%)
HSVhsv(226, 64%, 68%)
CMYKcmyk(63.8%, 49.4%, 0%, 31.8%)
CIE-LABlab(39.73, 18.55, -48.90)
CIE-LCHlch(39.73, 52.30, 290.77°)
OKLaboklab(48.72% -0.0034 -0.14)
OKLCHoklch(48.72% 0.14 268.6)
XYZxyz(13.1770, 11.0910, 41.4826)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F58AE #AE953F
analogous
#3F90AE #3F58AE #5E3FAE
triadic
#3F58AE #AE3F58 #58AE3F
tetradic
#3F58AE #AE3F90 #AE953F #3FAE5E
square
#3F58AE #AE3F90 #AE953F #3FAE5E
split-complementary
#3F58AE #AE5E3F #90AE3F
monochromatic
#1E2B54 #2F4181 #3F58AE #647AC7 #90A0D7

Accessibility & contrast

On white

6.52
#3F58AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#3F58AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F58AE
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F58AE#FFFFFF#000000##FFFFFF
##3F58AE1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A63B1
Deuteranopia (green-blind)
#1159AC
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3f58ae;
/* rgb */ color: rgb(63, 88, 174);
/* oklch */ color: oklch(48.7% 0.140 268.6);
Tailwind
colors: {
  custom: {
    50: '#7f86c7',
    500: '#3f58ae',
    950: '#000000',
  },
}
SCSS
$custom: #3f58ae;
$custom-light: #7f86c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f58ae",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 174
  },
  "hsl": {
    "h": 226.486,
    "s": 46.835,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48723,
    "c": 0.14003,
    "h": 268.6
  },
  "luminance": 0.11092
}

Semantic roles & 50–950 ramp

primary
#3F58AE
secondary
#C2B587
accent
#B851D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F58AE

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

Preview Lab → · Contrast checker → · Palette generator →

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