#3F58A4#3F58A4

#3F58A4 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.0% C 0.126 H 267.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#3F58A4
RGBrgb(63, 88, 164)
HSLhsl(225, 44%, 45%)
HSVhsv(225, 62%, 64%)
CMYKcmyk(61.6%, 46.3%, 0%, 35.7%)
CIE-LABlab(39.10, 14.99, -43.99)
CIE-LCHlch(39.10, 46.47, 288.82°)
OKLaboklab(48.03% -0.0048 -0.1256)
OKLCHoklch(48.03% 0.126 267.8)
XYZxyz(12.2382, 10.7155, 36.5381)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F58A4 #A48B3F
analogous
#3F8AA4 #3F58A4 #593FA4
triadic
#3F58A4 #A43F58 #58A43F
tetradic
#3F58A4 #A43F8A #A48B3F #3FA459
square
#3F58A4 #A43F8A #A48B3F #3FA459
split-complementary
#3F58A4 #A4593F #8AA43F
monochromatic
#1D294C #2E4078 #3F58A4 #5F77C1 #8B9DD2

Accessibility & contrast

On white

6.68
#3F58A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#3F58A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F58A4
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F58A4#FFFFFF#000000##FFFFFF
##3F58A41.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3461A7
Deuteranopia (green-blind)
#2458A2
Tritanopia (blue-blind)
#006976
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3f58a4;
/* rgb */ color: rgb(63, 88, 164);
/* oklch */ color: oklch(48.0% 0.126 267.8);
Tailwind
colors: {
  custom: {
    50: '#7d86bf',
    500: '#3f58a4',
    950: '#000000',
  },
}
SCSS
$custom: #3f58a4;
$custom-light: #7d86bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f58a4",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 164
  },
  "hsl": {
    "h": 225.149,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48033,
    "c": 0.12565,
    "h": 267.8
  },
  "luminance": 0.10717
}

Semantic roles & 50–950 ramp

primary
#3F58A4
secondary
#BDAE82
accent
#B454D4
background
#F8F8FB
surface
#EFEFF7
border
#CACAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3F58A4

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

Preview Lab → · Contrast checker → · Palette generator →

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