#3F5DAD#3F5DAD

#3F5DAD is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.7% C 0.132 H 266.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#3F5DAD
RGBrgb(63, 93, 173)
HSLhsl(224, 47%, 46%)
HSVhsv(224, 64%, 68%)
CMYKcmyk(63.6%, 46.2%, 0%, 32.2%)
CIE-LABlab(41.06, 14.96, -46.18)
CIE-LCHlch(41.06, 48.54, 287.95°)
OKLaboklab(49.71% -0.0087 -0.1319)
OKLCHoklch(49.71% 0.132 266.2)
XYZxyz(13.5045, 11.9014, 41.1126)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5DAD #AD8F3F
analogous
#3F94AD #3F5DAD #583FAD
triadic
#3F5DAD #AD3F5D #5DAD3F
tetradic
#3F5DAD #AD3F94 #AD8F3F #3FAD58
square
#3F5DAD #AD3F94 #AD8F3F #3FAD58
split-complementary
#3F5DAD #AD583F #94AD3F
monochromatic
#1E2D53 #2F4580 #3F5DAD #637EC6 #90A3D7

Accessibility & contrast

On white

6.21
#3F5DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3F5DAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5DAD
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5DAD#FFFFFF#000000##FFFFFF
##3F5DAD1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3666B0
Deuteranopia (green-blind)
#235CAB
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3f5dad;
/* rgb */ color: rgb(63, 93, 173);
/* oklch */ color: oklch(49.7% 0.132 266.2);
Tailwind
colors: {
  custom: {
    50: '#7f8ac6',
    500: '#3f5dad',
    950: '#000000',
  },
}
SCSS
$custom: #3f5dad;
$custom-light: #7f8ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5dad",
  "rgb": {
    "r": 63,
    "g": 93,
    "b": 173
  },
  "hsl": {
    "h": 223.636,
    "s": 46.61,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49714,
    "c": 0.13221,
    "h": 266.2
  },
  "luminance": 0.11903
}

Semantic roles & 50–950 ramp

primary
#3F5DAD
secondary
#C2B186
accent
#B252D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F5DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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