#3F58AD#3F58AD

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

Color values

HEX#3F58AD
RGBrgb(63, 88, 173)
HSLhsl(226, 47%, 46%)
HSVhsv(226, 64%, 68%)
CMYKcmyk(63.6%, 49.1%, 0%, 32.2%)
CIE-LABlab(39.67, 18.19, -48.41)
CIE-LCHlch(39.67, 51.72, 290.60°)
OKLaboklab(48.65% -0.0036 -0.1386)
OKLCHoklch(48.65% 0.139 268.5)
XYZxyz(13.0799, 11.0522, 40.9711)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F58AD #AD943F
analogous
#3F8FAD #3F58AD #5D3FAD
triadic
#3F58AD #AD3F58 #58AD3F
tetradic
#3F58AD #AD3F8F #AD943F #3FAD5D
square
#3F58AD #AD3F8F #AD943F #3FAD5D
split-complementary
#3F58AD #AD5D3F #8FAD3F
monochromatic
#1E2A53 #2F4180 #3F58AD #637AC6 #90A0D7

Accessibility & contrast

On white

6.54
#3F58AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#3F58AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F58AD
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F58AD#FFFFFF#000000##FFFFFF
##3F58AD1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C63B0
Deuteranopia (green-blind)
#1459AB
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3f58ad;
/* rgb */ color: rgb(63, 88, 173);
/* oklch */ color: oklch(48.7% 0.139 268.5);
Tailwind
colors: {
  custom: {
    50: '#7f86c6',
    500: '#3f58ad',
    950: '#000000',
  },
}
SCSS
$custom: #3f58ad;
$custom-light: #7f86c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f58ad",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 173
  },
  "hsl": {
    "h": 226.364,
    "s": 46.61,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48653,
    "c": 0.13861,
    "h": 268.5
  },
  "luminance": 0.11053
}

Semantic roles & 50–950 ramp

primary
#3F58AD
secondary
#C2B486
accent
#B852D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F58AD

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

Preview Lab → · Contrast checker → · Palette generator →

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