#3F558C#3F558C

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

Color values

HEX#3F558C
RGBrgb(63, 85, 140)
HSLhsl(223, 38%, 40%)
HSVhsv(223, 55%, 55%)
CMYKcmyk(55%, 39.3%, 0%, 45.1%)
CIE-LABlab(36.83, 8.57, -33.15)
CIE-LCHlch(36.83, 34.24, 284.49°)
OKLaboklab(45.84% -0.0061 -0.0938)
OKLCHoklch(45.84% 0.094 266.3)
XYZxyz(10.0304, 9.4465, 26.1007)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F558C #8C763F
analogous
#3F7C8C #3F558C #4F3F8C
triadic
#3F558C #8C3F55 #558C3F
tetradic
#3F558C #8C3F7C #8C763F #3F8C4F
square
#3F558C #8C3F7C #8C763F #3F8C4F
split-complementary
#3F558C #8C4F3F #7C8C3F
monochromatic
#192238 #2C3B62 #3F558C #5570B3 #8094C6

Accessibility & contrast

On white

7.27
#3F558C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3F558C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F558C
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F558C#FFFFFF#000000##FFFFFF
##3F558C1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5A8E
Deuteranopia (green-blind)
#36538B
Tritanopia (blue-blind)
#17616A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3f558c;
/* rgb */ color: rgb(63, 85, 140);
/* oklch */ color: oklch(45.8% 0.094 266.3);
Tailwind
colors: {
  custom: {
    50: '#7a84ae',
    500: '#3f558c',
    950: '#000000',
  },
}
SCSS
$custom: #3f558c;
$custom-light: #7a84ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3f558c",
  "rgb": {
    "r": 63,
    "g": 85,
    "b": 140
  },
  "hsl": {
    "h": 222.857,
    "s": 37.931,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45835,
    "c": 0.09404,
    "h": 266.3
  },
  "luminance": 0.09447
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F558C

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

Preview Lab → · Contrast checker → · Palette generator →

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