#3F507A#3F507A

#3F507A is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.6% C 0.073 H 266.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#3F507A
RGBrgb(63, 80, 122)
HSLhsl(223, 32%, 36%)
HSVhsv(223, 48%, 48%)
CMYKcmyk(48.4%, 34.4%, 0%, 52.2%)
CIE-LABlab(34.39, 5.77, -25.94)
CIE-LCHlch(34.39, 26.57, 282.54°)
OKLaboklab(43.64% -0.0043 -0.0729)
OKLCHoklch(43.64% 0.073 266.6)
XYZxyz(8.4303, 8.1987, 19.5469)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F507A #7A693F
analogous
#3F6E7A #3F507A #4C3F7A
triadic
#3F507A #7A3F50 #507A3F
tetradic
#3F507A #7A3F6E #7A693F #3F7A4C
square
#3F507A #7A3F6E #7A693F #3F7A4C
split-complementary
#3F507A #7A4C3F #6E7A3F
monochromatic
#151B29 #2A3652 #3F507A #546AA2 #798CBA

Accessibility & contrast

On white

7.96
#3F507A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3F507A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F507A
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F507A#FFFFFF#000000##FFFFFF
##3F507A1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41547C
Deuteranopia (green-blind)
#3A4E79
Tritanopia (blue-blind)
#28595F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f507a;
/* rgb */ color: rgb(63, 80, 122);
/* oklch */ color: oklch(43.6% 0.073 266.6);
Tailwind
colors: {
  custom: {
    50: '#7780a0',
    500: '#3f507a',
    950: '#000000',
  },
}
SCSS
$custom: #3f507a;
$custom-light: #7780a0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f507a",
  "rgb": {
    "r": 63,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 222.712,
    "s": 31.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43636,
    "c": 0.07299,
    "h": 266.6
  },
  "luminance": 0.08199
}

Semantic roles & 50–950 ramp

primary
#3F507A
secondary
#A49570
accent
#AA60C8
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#090A0F
muted
#7B7C7E

Preview Lab

Preview with #3F507A

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

Preview Lab → · Contrast checker → · Palette generator →

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