#3F538C#3F538C

#3F538C is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.4% C 0.097 H 267.9°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#3F538C
RGBrgb(63, 83, 140)
HSLhsl(224, 38%, 40%)
HSVhsv(224, 55%, 55%)
CMYKcmyk(55%, 40.7%, 0%, 45.1%)
CIE-LABlab(36.24, 9.86, -34.08)
CIE-LCHlch(36.24, 35.48, 286.14°)
OKLaboklab(45.38% -0.0036 -0.0966)
OKLCHoklch(45.38% 0.097 267.9)
XYZxyz(9.8752, 9.1360, 26.0489)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F538C #8C783F
analogous
#3F798C #3F538C #523F8C
triadic
#3F538C #8C3F53 #538C3F
tetradic
#3F538C #8C3F79 #8C783F #3F8C52
square
#3F538C #8C3F79 #8C783F #3F8C52
split-complementary
#3F538C #8C523F #798C3F
monochromatic
#192138 #2C3A62 #3F538C #556EB3 #8092C6

Accessibility & contrast

On white

7.43
#3F538C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3F538C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F538C
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F538C#FFFFFF#000000##FFFFFF
##3F538C1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C598E
Deuteranopia (green-blind)
#33528B
Tritanopia (blue-blind)
#185F68
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3f538c;
/* rgb */ color: rgb(63, 83, 140);
/* oklch */ color: oklch(45.4% 0.097 267.9);
Tailwind
colors: {
  custom: {
    50: '#7a83ae',
    500: '#3f538c',
    950: '#000000',
  },
}
SCSS
$custom: #3f538c;
$custom-light: #7a83ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3f538c",
  "rgb": {
    "r": 63,
    "g": 83,
    "b": 140
  },
  "hsl": {
    "h": 224.416,
    "s": 37.931,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45383,
    "c": 0.09663,
    "h": 267.9
  },
  "luminance": 0.09137
}

Semantic roles & 50–950 ramp

primary
#3F538C
secondary
#B0A177
accent
#B05ACE
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #3F538C

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

Preview Lab → · Contrast checker → · Palette generator →

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