#3F558B#3F558B

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

Color values

HEX#3F558B
RGBrgb(63, 85, 139)
HSLhsl(223, 38%, 40%)
HSVhsv(223, 55%, 55%)
CMYKcmyk(54.7%, 38.8%, 0%, 45.5%)
CIE-LABlab(36.78, 8.22, -32.63)
CIE-LCHlch(36.78, 33.65, 284.15°)
OKLaboklab(45.78% -0.0063 -0.0923)
OKLCHoklch(45.78% 0.093 266.1)
XYZxyz(9.9570, 9.4171, 25.7141)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F558B #8B753F
analogous
#3F7B8B #3F558B #4F3F8B
triadic
#3F558B #8B3F55 #558B3F
tetradic
#3F558B #8B3F7B #8B753F #3F8B4F
square
#3F558B #8B3F7B #8B753F #3F8B4F
split-complementary
#3F558B #8B4F3F #7B8B3F
monochromatic
#192137 #2C3B61 #3F558B #5570B2 #7F93C5

Accessibility & contrast

On white

7.28
#3F558B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3F558B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F558B
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F558B#FFFFFF#000000##FFFFFF
##3F558B1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5A8D
Deuteranopia (green-blind)
#37538A
Tritanopia (blue-blind)
#186169
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f558b;
/* rgb */ color: rgb(63, 85, 139);
/* oklch */ color: oklch(45.8% 0.093 266.1);
Tailwind
colors: {
  custom: {
    50: '#7a84ad',
    500: '#3f558b',
    950: '#000000',
  },
}
SCSS
$custom: #3f558b;
$custom-light: #7a84ad;
$custom-dark: #000000;
JSON
{
  "hex": "#3f558b",
  "rgb": {
    "r": 63,
    "g": 85,
    "b": 139
  },
  "hsl": {
    "h": 222.632,
    "s": 37.624,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45775,
    "c": 0.09253,
    "h": 266.1
  },
  "luminance": 0.09418
}

Semantic roles & 50–950 ramp

primary
#3F558B
secondary
#AF9F76
accent
#AC5ACE
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3F558B

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

Preview Lab → · Contrast checker → · Palette generator →

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