#3F488A#3F488A

#3F488A is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.8% C 0.109 H 275.0°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#3F488A
RGBrgb(63, 72, 138)
HSLhsl(233, 37%, 39%)
HSVhsv(233, 54%, 54%)
CMYKcmyk(54.3%, 47.8%, 0%, 45.9%)
CIE-LABlab(32.98, 16.40, -38.06)
CIE-LCHlch(32.98, 41.44, 293.31°)
OKLaboklab(42.84% 0.0095 -0.1083)
OKLCHoklch(42.84% 0.109 275)
XYZxyz(8.9532, 7.5259, 25.0207)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F488A #8A813F
analogous
#3F6E8A #3F488A #5C3F8A
triadic
#3F488A #8A3F48 #488A3F
tetradic
#3F488A #8A3F6E #8A813F #3F8A5C
square
#3F488A #8A3F6E #8A813F #3F8A5C
split-complementary
#3F488A #8A5C3F #6E8A3F
monochromatic
#191C36 #2C3260 #3F488A #5560B1 #7F87C5

Accessibility & contrast

On white

8.38
#3F488A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3F488A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F488A
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F488A#FFFFFF#000000##FFFFFF
##3F488A1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B518C
Deuteranopia (green-blind)
#224B89
Tritanopia (blue-blind)
#1D5662
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f488a;
/* rgb */ color: rgb(63, 72, 138);
/* oklch */ color: oklch(42.8% 0.109 275.0);
Tailwind
colors: {
  custom: {
    50: '#7a7aac',
    500: '#3f488a',
    950: '#000000',
  },
}
SCSS
$custom: #3f488a;
$custom-light: #7a7aac;
$custom-dark: #000000;
JSON
{
  "hex": "#3f488a",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 138
  },
  "hsl": {
    "h": 232.8,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42843,
    "c": 0.10874,
    "h": 275
  },
  "luminance": 0.07526
}

Semantic roles & 50–950 ramp

primary
#3F488A
secondary
#AFA876
accent
#C05BCD
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #3F488A

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

Preview Lab → · Contrast checker → · Palette generator →

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