#3F5188#3F5188

#3F5188 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.7% C 0.093 H 268.8°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#3F5188
RGBrgb(63, 81, 136)
HSLhsl(225, 37%, 39%)
HSVhsv(225, 54%, 53%)
CMYKcmyk(53.7%, 40.4%, 0%, 46.7%)
CIE-LABlab(35.44, 9.80, -32.92)
CIE-LCHlch(35.44, 34.35, 286.58°)
OKLaboklab(44.69% -0.002 -0.0932)
OKLCHoklch(44.69% 0.093 268.8)
XYZxyz(9.4348, 8.7185, 24.4735)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5188 #88763F
analogous
#3F7688 #3F5188 #523F88
triadic
#3F5188 #883F51 #51883F
tetradic
#3F5188 #883F76 #88763F #3F8852
square
#3F5188 #883F76 #88763F #3F8852
split-complementary
#3F5188 #88523F #76883F
monochromatic
#181F34 #2C385E #3F5188 #546BB0 #7E8FC3

Accessibility & contrast

On white

7.65
#3F5188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3F5188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5188
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5188#FFFFFF#000000##FFFFFF
##3F51881.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B578A
Deuteranopia (green-blind)
#335087
Tritanopia (blue-blind)
#1D5D66
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f5188;
/* rgb */ color: rgb(63, 81, 136);
/* oklch */ color: oklch(44.7% 0.093 268.8);
Tailwind
colors: {
  custom: {
    50: '#7981ab',
    500: '#3f5188',
    950: '#000000',
  },
}
SCSS
$custom: #3f5188;
$custom-light: #7981ab;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5188",
  "rgb": {
    "r": 63,
    "g": 81,
    "b": 136
  },
  "hsl": {
    "h": 225.205,
    "s": 36.683,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44687,
    "c": 0.0932,
    "h": 268.8
  },
  "luminance": 0.08719
}

Semantic roles & 50–950 ramp

primary
#3F5188
secondary
#AEA075
accent
#B15BCD
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3F5188

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

Preview Lab → · Contrast checker → · Palette generator →

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