#3F438D#3F438D

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

Color values

HEX#3F438D
RGBrgb(63, 67, 141)
HSLhsl(237, 38%, 40%)
HSVhsv(237, 55%, 55%)
CMYKcmyk(55.3%, 52.5%, 0%, 44.7%)
CIE-LABlab(31.79, 20.74, -41.80)
CIE-LCHlch(31.79, 46.66, 296.38°)
OKLaboklab(42.01% 0.0158 -0.1194)
OKLCHoklch(42.01% 0.12 277.5)
XYZxyz(8.8633, 6.9936, 26.0770)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F438D #8D893F
analogous
#3F6A8D #3F438D #623F8D
triadic
#3F438D #8D3F43 #438D3F
tetradic
#3F438D #8D3F6A #8D893F #3F8D62
square
#3F438D #8D3F6A #8D893F #3F8D62
split-complementary
#3F438D #8D623F #6A8D3F
monochromatic
#191B38 #2C2F63 #3F438D #565BB3 #8084C6

Accessibility & contrast

On white

8.75
#3F438D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F438D
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F438D#FFFFFF#000000##FFFFFF
##3F438D1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4E90
Deuteranopia (green-blind)
#12488B
Tritanopia (blue-blind)
#1A5461
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f438d;
/* rgb */ color: rgb(63, 67, 141);
/* oklch */ color: oklch(42.0% 0.120 277.5);
Tailwind
colors: {
  custom: {
    50: '#7b77af',
    500: '#3f438d',
    950: '#000000',
  },
}
SCSS
$custom: #3f438d;
$custom-light: #7b77af;
$custom-dark: #000000;
JSON
{
  "hex": "#3f438d",
  "rgb": {
    "r": 63,
    "g": 67,
    "b": 141
  },
  "hsl": {
    "h": 236.923,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.42011,
    "c": 0.12041,
    "h": 277.5
  },
  "luminance": 0.06994
}

Semantic roles & 50–950 ramp

primary
#3F438D
secondary
#B1AE77
accent
#C85ACE
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #3F438D

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

Preview Lab → · Contrast checker → · Palette generator →

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