#3F5DA4#3F5DA4

#3F5DA4 is a mid, moderate blue. Relative luminance 0.116; OKLCH L 49.1% C 0.119 H 265.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#3F5DA4
RGBrgb(63, 93, 164)
HSLhsl(222, 44%, 45%)
HSVhsv(222, 62%, 64%)
CMYKcmyk(61.6%, 43.3%, 0%, 35.7%)
CIE-LABlab(40.52, 11.77, -41.72)
CIE-LCHlch(40.52, 43.35, 285.75°)
OKLaboklab(49.12% -0.0102 -0.1188)
OKLCHoklch(49.12% 0.119 265.1)
XYZxyz(12.6628, 11.5647, 36.6797)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5DA4 #A4863F
analogous
#3F90A4 #3F5DA4 #543FA4
triadic
#3F5DA4 #A43F5D #5DA43F
tetradic
#3F5DA4 #A43F90 #A4863F #3FA454
square
#3F5DA4 #A43F90 #A4863F #3FA454
split-complementary
#3F5DA4 #A4543F #90A43F
monochromatic
#1D2B4C #2E4478 #3F5DA4 #5F7CC1 #8BA0D2

Accessibility & contrast

On white

6.34
#3F5DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#3F5DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5DA4
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5DA4#FFFFFF#000000##FFFFFF
##3F5DA41.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D64A7
Deuteranopia (green-blind)
#2E5BA3
Tritanopia (blue-blind)
#006D78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3f5da4;
/* rgb */ color: rgb(63, 93, 164);
/* oklch */ color: oklch(49.1% 0.119 265.1);
Tailwind
colors: {
  custom: {
    50: '#7d8abf',
    500: '#3f5da4',
    950: '#000000',
  },
}
SCSS
$custom: #3f5da4;
$custom-light: #7d8abf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5da4",
  "rgb": {
    "r": 63,
    "g": 93,
    "b": 164
  },
  "hsl": {
    "h": 222.178,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49121,
    "c": 0.11928,
    "h": 265.1
  },
  "luminance": 0.11566
}

Semantic roles & 50–950 ramp

primary
#3F5DA4
secondary
#BDAB82
accent
#AE54D4
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3F5DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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