#3F58AA#3F58AA

#3F58AA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.4% C 0.134 H 268.3°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#3F58AA
RGBrgb(63, 88, 170)
HSLhsl(226, 46%, 46%)
HSVhsv(226, 63%, 67%)
CMYKcmyk(62.9%, 48.2%, 0%, 33.3%)
CIE-LABlab(39.47, 17.12, -46.95)
CIE-LCHlch(39.47, 49.97, 290.04°)
OKLaboklab(48.44% -0.004 -0.1343)
OKLCHoklch(48.44% 0.134 268.3)
XYZxyz(12.7929, 10.9374, 39.4594)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F58AA #AA913F
analogous
#3F8DAA #3F58AA #5B3FAA
triadic
#3F58AA #AA3F58 #58AA3F
tetradic
#3F58AA #AA3F8D #AA913F #3FAA5B
square
#3F58AA #AA3F8D #AA913F #3FAA5B
split-complementary
#3F58AA #AA5B3F #8DAA3F
monochromatic
#1E2A51 #2E417D #3F58AA #6279C5 #8E9FD5

Accessibility & contrast

On white

6.59
#3F58AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3F58AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F58AA
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F58AA#FFFFFF#000000##FFFFFF
##3F58AA1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F62AD
Deuteranopia (green-blind)
#1A58A8
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3f58aa;
/* rgb */ color: rgb(63, 88, 170);
/* oklch */ color: oklch(48.4% 0.134 268.3);
Tailwind
colors: {
  custom: {
    50: '#7e86c4',
    500: '#3f58aa',
    950: '#000000',
  },
}
SCSS
$custom: #3f58aa;
$custom-light: #7e86c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f58aa",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 170
  },
  "hsl": {
    "h": 225.981,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48443,
    "c": 0.13432,
    "h": 268.3
  },
  "luminance": 0.10938
}

Semantic roles & 50–950 ramp

primary
#3F58AA
secondary
#C0B285
accent
#B752D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F58AA

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

Preview Lab → · Contrast checker → · Palette generator →

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