#3F5897#3F5897

#3F5897 is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.2% C 0.107 H 266.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#3F5897
RGBrgb(63, 88, 151)
HSLhsl(223, 41%, 42%)
HSVhsv(223, 58%, 59%)
CMYKcmyk(58.3%, 41.7%, 0%, 40.8%)
CIE-LABlab(38.32, 10.42, -37.44)
CIE-LCHlch(38.32, 38.87, 285.56°)
OKLaboklab(47.19% -0.0072 -0.1063)
OKLCHoklch(47.19% 0.107 266.1)
XYZxyz(11.1236, 10.2697, 30.6682)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5897 #977E3F
analogous
#3F8497 #3F5897 #523F97
triadic
#3F5897 #973F58 #58973F
tetradic
#3F5897 #973F84 #977E3F #3F9752
square
#3F5897 #973F84 #977E3F #3F9752
split-complementary
#3F5897 #97523F #84973F
monochromatic
#1B2641 #2D3F6C #3F5897 #5975BA #8599CC

Accessibility & contrast

On white

6.88
#3F5897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3F5897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5897
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5897#FFFFFF#000000##FFFFFF
##3F58971.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5E99
Deuteranopia (green-blind)
#325796
Tritanopia (blue-blind)
#006670
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3f5897;
/* rgb */ color: rgb(63, 88, 151);
/* oklch */ color: oklch(47.2% 0.107 266.1);
Tailwind
colors: {
  custom: {
    50: '#7b86b6',
    500: '#3f5897',
    950: '#000000',
  },
}
SCSS
$custom: #3f5897;
$custom-light: #7b86b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5897",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 151
  },
  "hsl": {
    "h": 222.955,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47187,
    "c": 0.1066,
    "h": 266.1
  },
  "luminance": 0.10271
}

Semantic roles & 50–950 ramp

primary
#3F5897
secondary
#B6A67C
accent
#AE57D1
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #3F5897

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

Preview Lab → · Contrast checker → · Palette generator →

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