#3F528B#3F528B

#3F528B is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.1% C 0.096 H 268.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#3F528B
RGBrgb(63, 82, 139)
HSLhsl(225, 38%, 40%)
HSVhsv(225, 55%, 55%)
CMYKcmyk(54.7%, 41%, 0%, 45.5%)
CIE-LABlab(35.90, 10.17, -34.02)
CIE-LCHlch(35.90, 35.51, 286.65°)
OKLaboklab(45.1% -0.0026 -0.0964)
OKLCHoklch(45.1% 0.096 268.4)
XYZxyz(9.7259, 8.9547, 25.6370)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F528B #8B783F
analogous
#3F788B #3F528B #523F8B
triadic
#3F528B #8B3F52 #528B3F
tetradic
#3F528B #8B3F78 #8B783F #3F8B52
square
#3F528B #8B3F78 #8B783F #3F8B52
split-complementary
#3F528B #8B523F #788B3F
monochromatic
#192037 #2C3961 #3F528B #556CB2 #7F91C5

Accessibility & contrast

On white

7.52
#3F528B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3F528B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F528B
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F528B#FFFFFF#000000##FFFFFF
##3F528B1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B588D
Deuteranopia (green-blind)
#32518A
Tritanopia (blue-blind)
#195E68
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3f528b;
/* rgb */ color: rgb(63, 82, 139);
/* oklch */ color: oklch(45.1% 0.096 268.4);
Tailwind
colors: {
  custom: {
    50: '#7a82ad',
    500: '#3f528b',
    950: '#000000',
  },
}
SCSS
$custom: #3f528b;
$custom-light: #7a82ad;
$custom-dark: #000000;
JSON
{
  "hex": "#3f528b",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 139
  },
  "hsl": {
    "h": 225,
    "s": 37.624,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45097,
    "c": 0.09644,
    "h": 268.4
  },
  "luminance": 0.08955
}

Semantic roles & 50–950 ramp

primary
#3F528B
secondary
#AFA176
accent
#B15ACE
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3F528B

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

Preview Lab → · Contrast checker → · Palette generator →

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