#3F438E#3F438E

#3F438E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.122 H 277.5°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#3F438E
RGBrgb(63, 67, 142)
HSLhsl(237, 39%, 40%)
HSVhsv(237, 56%, 56%)
CMYKcmyk(55.6%, 52.8%, 0%, 44.3%)
CIE-LABlab(31.86, 21.08, -42.31)
CIE-LCHlch(31.86, 47.27, 296.48°)
OKLaboklab(42.08% 0.0159 -0.1209)
OKLCHoklch(42.08% 0.122 277.5)
XYZxyz(8.9380, 7.0235, 26.4706)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F438E #8E8A3F
analogous
#3F6A8E #3F438E #623F8E
triadic
#3F438E #8E3F43 #438E3F
tetradic
#3F438E #8E3F6A #8E8A3F #3F8E62
square
#3F438E #8E3F6A #8E8A3F #3F8E62
split-complementary
#3F438E #8E623F #6A8E3F
monochromatic
#191B39 #2C2F64 #3F438E #565BB4 #8184C7

Accessibility & contrast

On white

8.73
#3F438E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3F438E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F438E
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F438E#FFFFFF#000000##FFFFFF
##3F438E1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4E91
Deuteranopia (green-blind)
#0F488C
Tritanopia (blue-blind)
#195462
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f438e;
/* rgb */ color: rgb(63, 67, 142);
/* oklch */ color: oklch(42.1% 0.122 277.5);
Tailwind
colors: {
  custom: {
    50: '#7b77b0',
    500: '#3f438e',
    950: '#000000',
  },
}
SCSS
$custom: #3f438e;
$custom-light: #7b77b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f438e",
  "rgb": {
    "r": 63,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 236.962,
    "s": 38.537,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42084,
    "c": 0.1219,
    "h": 277.5
  },
  "luminance": 0.07024
}

Semantic roles & 50–950 ramp

primary
#3F438E
secondary
#B1AE78
accent
#C959CE
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #3F438E

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

Preview Lab → · Contrast checker → · Palette generator →

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