#3F548E#3F548E

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

Color values

HEX#3F548E
RGBrgb(63, 84, 142)
HSLhsl(224, 39%, 40%)
HSVhsv(224, 56%, 56%)
CMYKcmyk(55.6%, 40.8%, 0%, 44.3%)
CIE-LABlab(36.65, 9.90, -34.66)
CIE-LCHlch(36.65, 36.04, 285.94°)
OKLaboklab(45.73% -0.0044 -0.0982)
OKLCHoklch(45.73% 0.098 267.4)
XYZxyz(10.1011, 9.3497, 26.8583)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F548E #8E793F
analogous
#3F7B8E #3F548E #523F8E
triadic
#3F548E #8E3F54 #548E3F
tetradic
#3F548E #8E3F7B #8E793F #3F8E52
square
#3F548E #8E3F7B #8E793F #3F8E52
split-complementary
#3F548E #8E523F #7B8E3F
monochromatic
#192239 #2C3B64 #3F548E #566FB4 #8193C7

Accessibility & contrast

On white

7.32
#3F548E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3F548E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F548E
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F548E#FFFFFF#000000##FFFFFF
##3F548E1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5A90
Deuteranopia (green-blind)
#33538D
Tritanopia (blue-blind)
#14616A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f548e;
/* rgb */ color: rgb(63, 84, 142);
/* oklch */ color: oklch(45.7% 0.098 267.4);
Tailwind
colors: {
  custom: {
    50: '#7a83af',
    500: '#3f548e',
    950: '#000000',
  },
}
SCSS
$custom: #3f548e;
$custom-light: #7a83af;
$custom-dark: #000000;
JSON
{
  "hex": "#3f548e",
  "rgb": {
    "r": 63,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 224.051,
    "s": 38.537,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45731,
    "c": 0.09834,
    "h": 267.4
  },
  "luminance": 0.0935
}

Semantic roles & 50–950 ramp

primary
#3F548E
secondary
#B1A278
accent
#AF59CE
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #3F548E

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

Preview Lab → · Contrast checker → · Palette generator →

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