#3F58CB#3F58CB

#3F58CB is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.9% C 0.180 H 269.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#3F58CB
RGBrgb(63, 88, 203)
HSLhsl(229, 57%, 52%)
HSVhsv(229, 69%, 80%)
CMYKcmyk(69%, 56.7%, 0%, 20.4%)
CIE-LABlab(41.76, 28.91, -62.55)
CIE-LCHlch(41.76, 68.91, 294.80°)
OKLaboklab(50.9% -0.0012 -0.1802)
OKLCHoklch(50.9% 0.18 269.6)
XYZxyz(16.3154, 12.3464, 58.0116)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F58CB #CBB23F
analogous
#3F9ECB #3F58CB #6C3FCB
triadic
#3F58CB #CB3F58 #58CB3F
tetradic
#3F58CB #CB3F9E #CBB23F #3FCB6C
square
#3F58CB #CB3F9E #CBB23F #3FCB6C
split-complementary
#3F58CB #CB6C3F #9ECB3F
monochromatic
#1F2D71 #2C41A1 #3F58CB #6F82D8 #9FACE5

Accessibility & contrast

On white

6.05
#3F58CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#3F58CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F58CB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F58CB#FFFFFF#000000##FFFFFF
##3F58CB1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3f58cb;
/* rgb */ color: rgb(63, 88, 203);
/* oklch */ color: oklch(50.9% 0.180 269.6);
Tailwind
colors: {
  custom: {
    50: '#8586dc',
    500: '#3f58cb',
    950: '#000000',
  },
}
SCSS
$custom: #3f58cb;
$custom-light: #8586dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f58cb",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 229.286,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50897,
    "c": 0.18016,
    "h": 269.6
  },
  "luminance": 0.12348
}

Semantic roles & 50–950 ramp

primary
#3F58CB
secondary
#D1C794
accent
#C547E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F58CB

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

Preview Lab → · Contrast checker → · Palette generator →

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