#3F58BE#3F58BE

#3F58BE is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.9% C 0.162 H 269.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#3F58BE
RGBrgb(63, 88, 190)
HSLhsl(228, 50%, 50%)
HSVhsv(228, 67%, 75%)
CMYKcmyk(66.8%, 53.7%, 0%, 25.5%)
CIE-LABlab(40.82, 24.27, -56.53)
CIE-LCHlch(40.82, 61.52, 293.23°)
OKLaboklab(49.89% -0.0019 -0.1625)
OKLCHoklch(49.89% 0.162 269.3)
XYZxyz(14.8307, 11.7525, 50.1921)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F58BE #BEA53F
analogous
#3F98BE #3F58BE #663FBE
triadic
#3F58BE #BE3F58 #58BE3F
tetradic
#3F58BE #BE3F98 #BEA53F #3FBE66
square
#3F58BE #BE3F98 #BEA53F #3FBE66
split-complementary
#3F58BE #BE663F #98BE3F
monochromatic
#212D62 #304390 #3F58BE #6C7FCE #9AA7DD

Accessibility & contrast

On white

6.27
#3F58BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3F58BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F58BE
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F58BE#FFFFFF#000000##FFFFFF
##3F58BE1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F66C2
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3f58be;
/* rgb */ color: rgb(63, 88, 190);
/* oklch */ color: oklch(49.9% 0.162 269.3);
Tailwind
colors: {
  custom: {
    50: '#8286d2',
    500: '#3f58be',
    950: '#000000',
  },
}
SCSS
$custom: #3f58be;
$custom-light: #8286d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f58be",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 190
  },
  "hsl": {
    "h": 228.189,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49892,
    "c": 0.16247,
    "h": 269.3
  },
  "luminance": 0.11754
}

Semantic roles & 50–950 ramp

primary
#3F58BE
secondary
#C9BE8F
accent
#BE4EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3F58BE

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

Preview Lab → · Contrast checker → · Palette generator →

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