#3F58C7#3F58C7

#3F58C7 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.6% C 0.175 H 269.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#3F58C7
RGBrgb(63, 88, 199)
HSLhsl(229, 55%, 51%)
HSVhsv(229, 68%, 78%)
CMYKcmyk(68.3%, 55.8%, 0%, 22%)
CIE-LABlab(41.47, 27.48, -60.71)
CIE-LCHlch(41.47, 66.64, 294.35°)
OKLaboklab(50.58% -0.0014 -0.1748)
OKLCHoklch(50.58% 0.175 269.5)
XYZxyz(15.8449, 12.1582, 55.5335)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F58C7 #C7AE3F
analogous
#3F9CC7 #3F58C7 #6A3FC7
triadic
#3F58C7 #C73F58 #58C73F
tetradic
#3F58C7 #C73F9C #C7AE3F #3FC76A
square
#3F58C7 #C73F9C #C7AE3F #3FC76A
split-complementary
#3F58C7 #C76A3F #9CC73F
monochromatic
#202E6C #2D429B #3F58C7 #6E81D5 #9EAAE3

Accessibility & contrast

On white

6.12
#3F58C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#3F58C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F58C7
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F58C7#FFFFFF#000000##FFFFFF
##3F58C71.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3f58c7;
/* rgb */ color: rgb(63, 88, 199);
/* oklch */ color: oklch(50.6% 0.175 269.5);
Tailwind
colors: {
  custom: {
    50: '#8486d9',
    500: '#3f58c7',
    950: '#000000',
  },
}
SCSS
$custom: #3f58c7;
$custom-light: #8486d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f58c7",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 199
  },
  "hsl": {
    "h": 228.971,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50583,
    "c": 0.17477,
    "h": 269.5
  },
  "luminance": 0.1216
}

Semantic roles & 50–950 ramp

primary
#3F58C7
secondary
#CFC493
accent
#C34ADE
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F58C7

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

Preview Lab → · Contrast checker → · Palette generator →

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