#3F488C#3F488C

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

Color values

HEX#3F488C
RGBrgb(63, 72, 140)
HSLhsl(233, 38%, 40%)
HSVhsv(233, 55%, 55%)
CMYKcmyk(55%, 48.6%, 0%, 45.1%)
CIE-LABlab(33.10, 17.09, -39.09)
CIE-LCHlch(33.10, 42.66, 293.61°)
OKLaboklab(42.98% 0.0098 -0.1113)
OKLCHoklch(42.98% 0.112 275)
XYZxyz(9.0994, 7.5843, 25.7903)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F488C #8C833F
analogous
#3F6F8C #3F488C #5D3F8C
triadic
#3F488C #8C3F48 #488C3F
tetradic
#3F488C #8C3F6F #8C833F #3F8C5D
square
#3F488C #8C3F6F #8C833F #3F8C5D
split-complementary
#3F488C #8C5D3F #6F8C3F
monochromatic
#191D38 #2C3262 #3F488C #5560B3 #8088C6

Accessibility & contrast

On white

8.34
#3F488C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F488C
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F488C#FFFFFF#000000##FFFFFF
##3F488C1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29518E
Deuteranopia (green-blind)
#204B8B
Tritanopia (blue-blind)
#1A5763
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f488c;
/* rgb */ color: rgb(63, 72, 140);
/* oklch */ color: oklch(43.0% 0.112 275.0);
Tailwind
colors: {
  custom: {
    50: '#7a7aae',
    500: '#3f488c',
    950: '#000000',
  },
}
SCSS
$custom: #3f488c;
$custom-light: #7a7aae;
$custom-dark: #000000;
JSON
{
  "hex": "#3f488c",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 140
  },
  "hsl": {
    "h": 232.987,
    "s": 37.931,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42979,
    "c": 0.11178,
    "h": 275
  },
  "luminance": 0.07585
}

Semantic roles & 50–950 ramp

primary
#3F488C
secondary
#B0A977
accent
#C05ACE
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #3F488C

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

Preview Lab → · Contrast checker → · Palette generator →

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