#3F488E#3F488E

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

Color values

HEX#3F488E
RGBrgb(63, 72, 142)
HSLhsl(233, 39%, 40%)
HSVhsv(233, 56%, 56%)
CMYKcmyk(55.6%, 49.3%, 0%, 44.3%)
CIE-LABlab(33.23, 17.77, -40.11)
CIE-LCHlch(33.23, 43.87, 293.90°)
OKLaboklab(43.12% 0.01 -0.1143)
OKLCHoklch(43.12% 0.115 275)
XYZxyz(9.2482, 7.6439, 26.5740)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F488E #8E853F
analogous
#3F6F8E #3F488E #5E3F8E
triadic
#3F488E #8E3F48 #488E3F
tetradic
#3F488E #8E3F6F #8E853F #3F8E5E
square
#3F488E #8E3F6F #8E853F #3F8E5E
split-complementary
#3F488E #8E5E3F #6F8E3F
monochromatic
#191D39 #2C3364 #3F488E #5661B4 #8189C7

Accessibility & contrast

On white

8.30
#3F488E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F488E
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F488E#FFFFFF#000000##FFFFFF
##3F488E1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275291
Deuteranopia (green-blind)
#1D4B8C
Tritanopia (blue-blind)
#185764
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f488e;
/* rgb */ color: rgb(63, 72, 142);
/* oklch */ color: oklch(43.1% 0.115 275.0);
Tailwind
colors: {
  custom: {
    50: '#7a7aaf',
    500: '#3f488e',
    950: '#000000',
  },
}
SCSS
$custom: #3f488e;
$custom-light: #7a7aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f488e",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 233.165,
    "s": 38.537,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43118,
    "c": 0.11478,
    "h": 275
  },
  "luminance": 0.07644
}

Semantic roles & 50–950 ramp

primary
#3F488E
secondary
#B1AB78
accent
#C159CE
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #3F488E

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

Preview Lab → · Contrast checker → · Palette generator →

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