#3F58BB#3F58BB

#3F58BB is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.7% C 0.158 H 269.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#3F58BB
RGBrgb(63, 88, 187)
HSLhsl(228, 50%, 49%)
HSVhsv(228, 66%, 73%)
CMYKcmyk(66.3%, 52.9%, 0%, 26.7%)
CIE-LABlab(40.61, 23.19, -55.12)
CIE-LCHlch(40.61, 59.80, 292.82°)
OKLaboklab(49.67% -0.0021 -0.1583)
OKLCHoklch(49.67% 0.158 269.2)
XYZxyz(14.5062, 11.6227, 48.4830)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F58BB #BBA23F
analogous
#3F96BB #3F58BB #643FBB
triadic
#3F58BB #BB3F58 #58BB3F
tetradic
#3F58BB #BB3F96 #BBA23F #3FBB64
square
#3F58BB #BB3F96 #BBA23F #3FBB64
split-complementary
#3F58BB #BB643F #96BB3F
monochromatic
#202D5F #30428D #3F58BB #6A7ECD #98A6DC

Accessibility & contrast

On white

6.32
#3F58BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#3F58BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F58BB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F58BB#FFFFFF#000000##FFFFFF
##3F58BB1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1766BE
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3f58bb;
/* rgb */ color: rgb(63, 88, 187);
/* oklch */ color: oklch(49.7% 0.158 269.2);
Tailwind
colors: {
  custom: {
    50: '#8286d0',
    500: '#3f58bb',
    950: '#000000',
  },
}
SCSS
$custom: #3f58bb;
$custom-light: #8286d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f58bb",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 227.903,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49667,
    "c": 0.15832,
    "h": 269.2
  },
  "luminance": 0.11624
}

Semantic roles & 50–950 ramp

primary
#3F58BB
secondary
#C8BC8E
accent
#BD4FD9
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #3F58BB

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

Preview Lab → · Contrast checker → · Palette generator →

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