#3F509B#3F509B

#3F509B is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.7% C 0.123 H 271.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#3F509B
RGBrgb(63, 80, 155)
HSLhsl(229, 42%, 43%)
HSVhsv(229, 59%, 61%)
CMYKcmyk(59.4%, 48.4%, 0%, 39.2%)
CIE-LABlab(36.29, 17.03, -43.09)
CIE-LCHlch(36.29, 46.34, 291.57°)
OKLaboklab(45.71% 0.0026 -0.123)
OKLCHoklch(45.71% 0.123 271.2)
XYZxyz(10.8330, 9.1598, 32.2011)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F509B #9B8A3F
analogous
#3F7E9B #3F509B #5C3F9B
triadic
#3F509B #9B3F50 #509B3F
tetradic
#3F509B #9B3F7E #9B8A3F #3F9B5C
square
#3F509B #9B3F7E #9B8A3F #3F9B5C
split-complementary
#3F509B #9B5C3F #7E9B3F
monochromatic
#1C2344 #2D3A6F #3F509B #5B6DBC #8694CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F509B#FFFFFF#000000##FFFFFF
##3F509B1.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)
#2C5A9E
Deuteranopia (green-blind)
#1D5299
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3f509b;
/* rgb */ color: rgb(63, 80, 155);
/* oklch */ color: oklch(45.7% 0.123 271.2);
Tailwind
colors: {
  custom: {
    50: '#7c80b9',
    500: '#3f509b',
    950: '#000000',
  },
}
SCSS
$custom: #3f509b;
$custom-light: #7c80b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f509b",
  "rgb": {
    "r": 63,
    "g": 80,
    "b": 155
  },
  "hsl": {
    "h": 228.913,
    "s": 42.202,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4571,
    "c": 0.12307,
    "h": 271.2
  },
  "luminance": 0.09161
}

Semantic roles & 50–950 ramp

primary
#3F509B
secondary
#B8AE7D
accent
#BB56D2
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3F509B

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

Preview Lab → · Contrast checker → · Palette generator →

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