#3F548D#3F548D

#3F548D is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.7% C 0.097 H 267.3°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#3F548D
RGBrgb(63, 84, 141)
HSLhsl(224, 38%, 40%)
HSVhsv(224, 55%, 55%)
CMYKcmyk(55.3%, 40.4%, 0%, 44.7%)
CIE-LABlab(36.59, 9.56, -34.14)
CIE-LCHlch(36.59, 35.45, 285.64°)
OKLaboklab(45.67% -0.0046 -0.0967)
OKLCHoklch(45.67% 0.097 267.3)
XYZxyz(10.0263, 9.3198, 26.4647)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F548D #8D783F
analogous
#3F7B8D #3F548D #513F8D
triadic
#3F548D #8D3F54 #548D3F
tetradic
#3F548D #8D3F7B #8D783F #3F8D51
square
#3F548D #8D3F7B #8D783F #3F8D51
split-complementary
#3F548D #8D513F #7B8D3F
monochromatic
#192238 #2C3B63 #3F548D #566FB3 #8093C6

Accessibility & contrast

On white

7.33
#3F548D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3F548D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F548D
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F548D#FFFFFF#000000##FFFFFF
##3F548D1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A8F
Deuteranopia (green-blind)
#34538C
Tritanopia (blue-blind)
#166069
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f548d;
/* rgb */ color: rgb(63, 84, 141);
/* oklch */ color: oklch(45.7% 0.097 267.3);
Tailwind
colors: {
  custom: {
    50: '#7a83ae',
    500: '#3f548d',
    950: '#000000',
  },
}
SCSS
$custom: #3f548d;
$custom-light: #7a83ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3f548d",
  "rgb": {
    "r": 63,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 223.846,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.4567,
    "c": 0.09683,
    "h": 267.3
  },
  "luminance": 0.0932
}

Semantic roles & 50–950 ramp

primary
#3F548D
secondary
#B1A177
accent
#AF5ACE
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #3F548D

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

Preview Lab → · Contrast checker → · Palette generator →

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