#3F58CD#3F58CD

#3F58CD is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.183 H 269.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#3F58CD
RGBrgb(63, 88, 205)
HSLhsl(229, 59%, 53%)
HSVhsv(229, 69%, 80%)
CMYKcmyk(69.3%, 57.1%, 0%, 19.6%)
CIE-LABlab(41.91, 29.62, -63.46)
CIE-LCHlch(41.91, 70.03, 295.02°)
OKLaboklab(51.05% -0.0012 -0.1828)
OKLCHoklch(51.05% 0.183 269.6)
XYZxyz(16.5553, 12.4424, 59.2749)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F58CD #CDB43F
analogous
#3F9FCD #3F58CD #6D3FCD
triadic
#3F58CD #CD3F58 #58CD3F
tetradic
#3F58CD #CD3F9F #CDB43F #3FCD6D
square
#3F58CD #CD3F9F #CDB43F #3FCD6D
split-complementary
#3F58CD #CD6D3F #9FCD3F
monochromatic
#1E2D74 #2B40A4 #3F58CD #7082DA #A0ACE6

Accessibility & contrast

On white

6.02
#3F58CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#3F58CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F58CD
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F58CD#FFFFFF#000000##FFFFFF
##3F58CD1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3f58cd;
/* rgb */ color: rgb(63, 88, 205);
/* oklch */ color: oklch(51.1% 0.183 269.6);
Tailwind
colors: {
  custom: {
    50: '#8586dd',
    500: '#3f58cd',
    950: '#000000',
  },
}
SCSS
$custom: #3f58cd;
$custom-light: #8586dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f58cd",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 229.437,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51055,
    "c": 0.18284,
    "h": 269.6
  },
  "luminance": 0.12444
}

Semantic roles & 50–950 ramp

primary
#3F58CD
secondary
#D3C895
accent
#C646E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F58CD

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

Preview Lab → · Contrast checker → · Palette generator →

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