#3F488F#3F488F

#3F488F is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.2% C 0.116 H 275.0°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#3F488F
RGBrgb(63, 72, 143)
HSLhsl(233, 39%, 40%)
HSVhsv(233, 56%, 56%)
CMYKcmyk(55.9%, 49.7%, 0%, 43.9%)
CIE-LABlab(33.29, 18.12, -40.62)
CIE-LCHlch(33.29, 44.47, 294.04°)
OKLaboklab(43.19% 0.0102 -0.1158)
OKLCHoklch(43.19% 0.116 275)
XYZxyz(9.3236, 7.6740, 26.9712)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F488F #8F863F
analogous
#3F708F #3F488F #5E3F8F
triadic
#3F488F #8F3F48 #488F3F
tetradic
#3F488F #8F3F70 #8F863F #3F8F5E
square
#3F488F #8F3F70 #8F863F #3F8F5E
split-complementary
#3F488F #8F5E3F #708F3F
monochromatic
#1A1D3A #2C3365 #3F488F #5661B5 #8189C7

Accessibility & contrast

On white

8.28
#3F488F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3F488F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F488F
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F488F#FFFFFF#000000##FFFFFF
##3F488F1.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265292
Deuteranopia (green-blind)
#1C4B8D
Tritanopia (blue-blind)
#175864
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f488f;
/* rgb */ color: rgb(63, 72, 143);
/* oklch */ color: oklch(43.2% 0.116 275.0);
Tailwind
colors: {
  custom: {
    50: '#7b7ab0',
    500: '#3f488f',
    950: '#000000',
  },
}
SCSS
$custom: #3f488f;
$custom-light: #7b7ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f488f",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 233.25,
    "s": 38.835,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43188,
    "c": 0.11628,
    "h": 275
  },
  "luminance": 0.07675
}

Semantic roles & 50–950 ramp

primary
#3F488F
secondary
#B2AB78
accent
#C259CF
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #3F488F

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

Preview Lab → · Contrast checker → · Palette generator →

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