#3F58C8#3F58C8

#3F58C8 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.7% C 0.176 H 269.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#3F58C8
RGBrgb(63, 88, 200)
HSLhsl(229, 55%, 52%)
HSVhsv(229, 69%, 78%)
CMYKcmyk(68.5%, 56%, 0%, 21.6%)
CIE-LABlab(41.54, 27.84, -61.17)
CIE-LCHlch(41.54, 67.21, 294.47°)
OKLaboklab(50.66% -0.0014 -0.1761)
OKLCHoklch(50.66% 0.176 269.6)
XYZxyz(15.9614, 12.2048, 56.1470)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F58C8 #C8AF3F
analogous
#3F9DC8 #3F58C8 #6B3FC8
triadic
#3F58C8 #C83F58 #58C83F
tetradic
#3F58C8 #C83F9D #C8AF3F #3FC86B
square
#3F58C8 #C83F9D #C8AF3F #3FC86B
split-complementary
#3F58C8 #C86B3F #9DC83F
monochromatic
#1F2E6D #2D419D #3F58C8 #6F81D6 #9EABE3

Accessibility & contrast

On white

6.10
#3F58C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#3F58C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F58C8
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F58C8#FFFFFF#000000##FFFFFF
##3F58C81.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f58c8;
/* rgb */ color: rgb(63, 88, 200);
/* oklch */ color: oklch(50.7% 0.176 269.6);
Tailwind
colors: {
  custom: {
    50: '#8486d9',
    500: '#3f58c8',
    950: '#000000',
  },
}
SCSS
$custom: #3f58c8;
$custom-light: #8486d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f58c8",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 229.051,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50661,
    "c": 0.17613,
    "h": 269.6
  },
  "luminance": 0.12206
}

Semantic roles & 50–950 ramp

primary
#3F58C8
secondary
#D0C593
accent
#C349DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F58C8

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

Preview Lab → · Contrast checker → · Palette generator →

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