#3F548C#3F548C

#3F548C is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.6% C 0.095 H 267.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#3F548C
RGBrgb(63, 84, 140)
HSLhsl(224, 38%, 40%)
HSVhsv(224, 55%, 55%)
CMYKcmyk(55%, 40%, 0%, 45.1%)
CIE-LABlab(36.54, 9.21, -33.62)
CIE-LCHlch(36.54, 34.86, 285.33°)
OKLaboklab(45.61% -0.0048 -0.0952)
OKLCHoklch(45.61% 0.095 267.1)
XYZxyz(9.9523, 9.2901, 26.0746)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F548C #8C773F
analogous
#3F7B8C #3F548C #503F8C
triadic
#3F548C #8C3F54 #548C3F
tetradic
#3F548C #8C3F7B #8C773F #3F8C50
square
#3F548C #8C3F7B #8C773F #3F8C50
split-complementary
#3F548C #8C503F #7B8C3F
monochromatic
#192138 #2C3B62 #3F548C #556FB3 #8093C6

Accessibility & contrast

On white

7.35
#3F548C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F548C
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F548C#FFFFFF#000000##FFFFFF
##3F548C1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A8E
Deuteranopia (green-blind)
#34538B
Tritanopia (blue-blind)
#176069
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f548c;
/* rgb */ color: rgb(63, 84, 140);
/* oklch */ color: oklch(45.6% 0.095 267.1);
Tailwind
colors: {
  custom: {
    50: '#7a83ae',
    500: '#3f548c',
    950: '#000000',
  },
}
SCSS
$custom: #3f548c;
$custom-light: #7a83ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3f548c",
  "rgb": {
    "r": 63,
    "g": 84,
    "b": 140
  },
  "hsl": {
    "h": 223.636,
    "s": 37.931,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45609,
    "c": 0.09532,
    "h": 267.1
  },
  "luminance": 0.09291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F548C

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

Preview Lab → · Contrast checker → · Palette generator →

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