#3F558D#3F558D

#3F558D is a mid, moderate blue. Relative luminance 0.095; OKLCH L 45.9% C 0.096 H 266.5°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#3F558D
RGBrgb(63, 85, 141)
HSLhsl(223, 38%, 40%)
HSVhsv(223, 55%, 55%)
CMYKcmyk(55.3%, 39.7%, 0%, 44.7%)
CIE-LABlab(36.89, 8.91, -33.67)
CIE-LCHlch(36.89, 34.83, 284.82°)
OKLaboklab(45.9% -0.0058 -0.0954)
OKLCHoklch(45.9% 0.096 266.5)
XYZxyz(10.1045, 9.4761, 26.4907)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F558D #8D773F
analogous
#3F7C8D #3F558D #503F8D
triadic
#3F558D #8D3F55 #558D3F
tetradic
#3F558D #8D3F7C #8D773F #3F8D50
square
#3F558D #8D3F7C #8D773F #3F8D50
split-complementary
#3F558D #8D503F #7C8D3F
monochromatic
#192238 #2C3C63 #3F558D #5670B3 #8094C6

Accessibility & contrast

On white

7.25
#3F558D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3F558D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F558D
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F558D#FFFFFF#000000##FFFFFF
##3F558D1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B8F
Deuteranopia (green-blind)
#35548C
Tritanopia (blue-blind)
#16616A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3f558d;
/* rgb */ color: rgb(63, 85, 141);
/* oklch */ color: oklch(45.9% 0.096 266.5);
Tailwind
colors: {
  custom: {
    50: '#7a84ae',
    500: '#3f558d',
    950: '#000000',
  },
}
SCSS
$custom: #3f558d;
$custom-light: #7a84ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3f558d",
  "rgb": {
    "r": 63,
    "g": 85,
    "b": 141
  },
  "hsl": {
    "h": 223.077,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.45896,
    "c": 0.09554,
    "h": 266.5
  },
  "luminance": 0.09477
}

Semantic roles & 50–950 ramp

primary
#3F558D
secondary
#B1A077
accent
#AD5ACE
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #3F558D

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

Preview Lab → · Contrast checker → · Palette generator →

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