#3F588D#3F588D

#3F588D is a mid, moderate blue. Relative luminance 0.100; OKLCH L 46.6% C 0.092 H 264.0°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#3F588D
RGBrgb(63, 88, 141)
HSLhsl(221, 38%, 40%)
HSVhsv(221, 55%, 55%)
CMYKcmyk(55.3%, 37.6%, 0%, 44.7%)
CIE-LABlab(37.77, 6.97, -32.28)
CIE-LCHlch(37.77, 33.02, 282.19°)
OKLaboklab(46.58% -0.0095 -0.0913)
OKLCHoklch(46.58% 0.092 264)
XYZxyz(10.3457, 9.9585, 26.5711)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F588D #8D743F
analogous
#3F7F8D #3F588D #4D3F8D
triadic
#3F588D #8D3F58 #588D3F
tetradic
#3F588D #8D3F7F #8D743F #3F8D4D
square
#3F588D #8D3F7F #8D743F #3F8D4D
split-complementary
#3F588D #8D4D3F #7F8D3F
monochromatic
#192338 #2C3E63 #3F588D #5674B3 #8097C6

Accessibility & contrast

On white

7.02
#3F588D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3F588D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F588D
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F588D#FFFFFF#000000##FFFFFF
##3F588D1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435D8F
Deuteranopia (green-blind)
#39568C
Tritanopia (blue-blind)
#15646C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3f588d;
/* rgb */ color: rgb(63, 88, 141);
/* oklch */ color: oklch(46.6% 0.092 264.0);
Tailwind
colors: {
  custom: {
    50: '#7a86ae',
    500: '#3f588d',
    950: '#000000',
  },
}
SCSS
$custom: #3f588d;
$custom-light: #7a86ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3f588d",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 141
  },
  "hsl": {
    "h": 220.769,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.46578,
    "c": 0.09176,
    "h": 264
  },
  "luminance": 0.09959
}

Semantic roles & 50–950 ramp

primary
#3F588D
secondary
#B19E77
accent
#A95ACE
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#0A0B10
muted
#7C7C7F

Preview Lab

Preview with #3F588D

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

Preview Lab → · Contrast checker → · Palette generator →

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