#3F5097#3F5097

#3F5097 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.4% C 0.117 H 271.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#3F5097
RGBrgb(63, 80, 151)
HSLhsl(228, 41%, 42%)
HSVhsv(228, 58%, 59%)
CMYKcmyk(58.3%, 47%, 0%, 40.8%)
CIE-LABlab(36.04, 15.63, -41.09)
CIE-LCHlch(36.04, 43.96, 290.83°)
OKLaboklab(45.44% 0.002 -0.1171)
OKLCHoklch(45.44% 0.117 271)
XYZxyz(10.5026, 9.0277, 30.4612)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5097 #97863F
analogous
#3F7C97 #3F5097 #5A3F97
triadic
#3F5097 #973F50 #50973F
tetradic
#3F5097 #973F7C #97863F #3F975A
square
#3F5097 #973F7C #97863F #3F975A
split-complementary
#3F5097 #975A3F #7C973F
monochromatic
#1B2241 #2D396C #3F5097 #596CBA #8592CC

Accessibility & contrast

On white

7.49
#3F5097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#3F5097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5097
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5097#FFFFFF#000000##FFFFFF
##3F50971.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F599A
Deuteranopia (green-blind)
#235195
Tritanopia (blue-blind)
#03606C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3f5097;
/* rgb */ color: rgb(63, 80, 151);
/* oklch */ color: oklch(45.4% 0.117 271.0);
Tailwind
colors: {
  custom: {
    50: '#7c80b6',
    500: '#3f5097',
    950: '#000000',
  },
}
SCSS
$custom: #3f5097;
$custom-light: #7c80b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5097",
  "rgb": {
    "r": 63,
    "g": 80,
    "b": 151
  },
  "hsl": {
    "h": 228.409,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45436,
    "c": 0.11715,
    "h": 271
  },
  "luminance": 0.09028
}

Semantic roles & 50–950 ramp

primary
#3F5097
secondary
#B6AB7C
accent
#B957D1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3F5097

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

Preview Lab → · Contrast checker → · Palette generator →

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