#3F58AF#3F58AF

#3F58AF is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.8% C 0.141 H 268.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#3F58AF
RGBrgb(63, 88, 175)
HSLhsl(227, 47%, 47%)
HSVhsv(227, 64%, 69%)
CMYKcmyk(64%, 49.7%, 0%, 31.4%)
CIE-LABlab(39.80, 18.91, -49.38)
CIE-LCHlch(39.80, 52.88, 290.95°)
OKLaboklab(48.79% -0.0033 -0.1414)
OKLCHoklch(48.79% 0.141 268.7)
XYZxyz(13.2749, 11.1302, 41.9979)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F58AF #AF963F
analogous
#3F90AF #3F58AF #5E3FAF
triadic
#3F58AF #AF3F58 #58AF3F
tetradic
#3F58AF #AF3F90 #AF963F #3FAF5E
square
#3F58AF #AF3F90 #AF963F #3FAF5E
split-complementary
#3F58AF #AF5E3F #90AF3F
monochromatic
#1F2B55 #2F4182 #3F58AF #647AC7 #91A1D7

Accessibility & contrast

On white

6.51
#3F58AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#3F58AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F58AF
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F58AF#FFFFFF#000000##FFFFFF
##3F58AF1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2963B2
Deuteranopia (green-blind)
#0E59AD
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3f58af;
/* rgb */ color: rgb(63, 88, 175);
/* oklch */ color: oklch(48.8% 0.141 268.7);
Tailwind
colors: {
  custom: {
    50: '#7f86c7',
    500: '#3f58af',
    950: '#000000',
  },
}
SCSS
$custom: #3f58af;
$custom-light: #7f86c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f58af",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 226.607,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48794,
    "c": 0.14146,
    "h": 268.7
  },
  "luminance": 0.11131
}

Semantic roles & 50–950 ramp

primary
#3F58AF
secondary
#C3B587
accent
#B951D7
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F58AF

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

Preview Lab → · Contrast checker → · Palette generator →

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