#3F488D#3F488D

#3F488D is a dark, moderate blue. Relative luminance 0.076; OKLCH L 43.0% C 0.113 H 275.0°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#3F488D
RGBrgb(63, 72, 141)
HSLhsl(233, 38%, 40%)
HSVhsv(233, 55%, 55%)
CMYKcmyk(55.3%, 48.9%, 0%, 44.7%)
CIE-LABlab(33.17, 17.43, -39.60)
CIE-LCHlch(33.17, 43.26, 293.76°)
OKLaboklab(43.05% 0.0099 -0.1128)
OKLCHoklch(43.05% 0.113 275)
XYZxyz(9.1734, 7.6140, 26.1804)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F488D #8D843F
analogous
#3F6F8D #3F488D #5D3F8D
triadic
#3F488D #8D3F48 #488D3F
tetradic
#3F488D #8D3F6F #8D843F #3F8D5D
square
#3F488D #8D3F6F #8D843F #3F8D5D
split-complementary
#3F488D #8D5D3F #6F8D3F
monochromatic
#191D38 #2C3263 #3F488D #5661B3 #8088C6

Accessibility & contrast

On white

8.32
#3F488D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3F488D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F488D
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F488D#FFFFFF#000000##FFFFFF
##3F488D1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285190
Deuteranopia (green-blind)
#1E4B8C
Tritanopia (blue-blind)
#195763
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f488d;
/* rgb */ color: rgb(63, 72, 141);
/* oklch */ color: oklch(43.0% 0.113 275.0);
Tailwind
colors: {
  custom: {
    50: '#7a7aaf',
    500: '#3f488d',
    950: '#000000',
  },
}
SCSS
$custom: #3f488d;
$custom-light: #7a7aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f488d",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 141
  },
  "hsl": {
    "h": 233.077,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.43048,
    "c": 0.11328,
    "h": 275
  },
  "luminance": 0.07615
}

Semantic roles & 50–950 ramp

primary
#3F488D
secondary
#B1AA77
accent
#C15ACE
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #3F488D

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

Preview Lab → · Contrast checker → · Palette generator →

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