#3F548B#3F548B

#3F548B is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.5% C 0.094 H 266.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#3F548B
RGBrgb(63, 84, 139)
HSLhsl(223, 38%, 40%)
HSVhsv(223, 55%, 55%)
CMYKcmyk(54.7%, 39.6%, 0%, 45.5%)
CIE-LABlab(36.48, 8.87, -33.10)
CIE-LCHlch(36.48, 34.26, 285.01°)
OKLaboklab(45.55% -0.0051 -0.0937)
OKLCHoklch(45.55% 0.094 266.9)
XYZxyz(9.8789, 9.2608, 25.6880)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F548B #8B763F
analogous
#3F7A8B #3F548B #503F8B
triadic
#3F548B #8B3F54 #548B3F
tetradic
#3F548B #8B3F7A #8B763F #3F8B50
square
#3F548B #8B3F7A #8B763F #3F8B50
split-complementary
#3F548B #8B503F #7A8B3F
monochromatic
#192137 #2C3B61 #3F548B #556FB2 #7F93C5

Accessibility & contrast

On white

7.36
#3F548B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3F548B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F548B
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F548B#FFFFFF#000000##FFFFFF
##3F548B1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598D
Deuteranopia (green-blind)
#35538A
Tritanopia (blue-blind)
#196069
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f548b;
/* rgb */ color: rgb(63, 84, 139);
/* oklch */ color: oklch(45.5% 0.094 266.9);
Tailwind
colors: {
  custom: {
    50: '#7a83ad',
    500: '#3f548b',
    950: '#000000',
  },
}
SCSS
$custom: #3f548b;
$custom-light: #7a83ad;
$custom-dark: #000000;
JSON
{
  "hex": "#3f548b",
  "rgb": {
    "r": 63,
    "g": 84,
    "b": 139
  },
  "hsl": {
    "h": 223.421,
    "s": 37.624,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45548,
    "c": 0.09382,
    "h": 266.9
  },
  "luminance": 0.09261
}

Semantic roles & 50–950 ramp

primary
#3F548B
secondary
#AFA076
accent
#AE5ACE
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3F548B

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

Preview Lab → · Contrast checker → · Palette generator →

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