#3F538D#3F538D

#3F538D is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.4% C 0.098 H 268.0°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#3F538D
RGBrgb(63, 83, 141)
HSLhsl(225, 38%, 40%)
HSVhsv(225, 55%, 55%)
CMYKcmyk(55.3%, 41.1%, 0%, 44.7%)
CIE-LABlab(36.30, 10.21, -34.60)
CIE-LCHlch(36.30, 36.07, 286.44°)
OKLaboklab(45.45% -0.0034 -0.0981)
OKLCHoklch(45.45% 0.098 268)
XYZxyz(9.9493, 9.1656, 26.4390)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F538D #8D793F
analogous
#3F7A8D #3F538D #523F8D
triadic
#3F538D #8D3F53 #538D3F
tetradic
#3F538D #8D3F7A #8D793F #3F8D52
square
#3F538D #8D3F7A #8D793F #3F8D52
split-complementary
#3F538D #8D523F #7A8D3F
monochromatic
#192138 #2C3A63 #3F538D #566EB3 #8092C6

Accessibility & contrast

On white

7.41
#3F538D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F538D
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F538D#FFFFFF#000000##FFFFFF
##3F538D1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B598F
Deuteranopia (green-blind)
#32528C
Tritanopia (blue-blind)
#166069
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3f538d;
/* rgb */ color: rgb(63, 83, 141);
/* oklch */ color: oklch(45.4% 0.098 268.0);
Tailwind
colors: {
  custom: {
    50: '#7a83ae',
    500: '#3f538d',
    950: '#000000',
  },
}
SCSS
$custom: #3f538d;
$custom-light: #7a83ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3f538d",
  "rgb": {
    "r": 63,
    "g": 83,
    "b": 141
  },
  "hsl": {
    "h": 224.615,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.45445,
    "c": 0.09814,
    "h": 268
  },
  "luminance": 0.09166
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F538D

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

Preview Lab → · Contrast checker → · Palette generator →

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