#3F5AAA#3F5AAA

#3F5AAA is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.9% C 0.132 H 267.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#3F5AAA
RGBrgb(63, 90, 170)
HSLhsl(225, 46%, 46%)
HSVhsv(225, 63%, 67%)
CMYKcmyk(62.9%, 47.1%, 0%, 33.3%)
CIE-LABlab(40.03, 15.83, -46.05)
CIE-LCHlch(40.03, 48.70, 288.97°)
OKLaboklab(48.87% -0.006 -0.1316)
OKLCHoklch(48.87% 0.132 267.4)
XYZxyz(12.9593, 11.2702, 39.5149)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5AAA #AA8F3F
analogous
#3F8FAA #3F5AAA #593FAA
triadic
#3F5AAA #AA3F5A #5AAA3F
tetradic
#3F5AAA #AA3F8F #AA8F3F #3FAA59
square
#3F5AAA #AA3F8F #AA8F3F #3FAA59
split-complementary
#3F5AAA #AA593F #8FAA3F
monochromatic
#1E2B51 #2E427D #3F5AAA #627BC5 #8EA0D5

Accessibility & contrast

On white

6.45
#3F5AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#3F5AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5AAA
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5AAA#FFFFFF#000000##FFFFFF
##3F5AAA1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3363AD
Deuteranopia (green-blind)
#205AA8
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3f5aaa;
/* rgb */ color: rgb(63, 90, 170);
/* oklch */ color: oklch(48.9% 0.132 267.4);
Tailwind
colors: {
  custom: {
    50: '#7e88c4',
    500: '#3f5aaa',
    950: '#000000',
  },
}
SCSS
$custom: #3f5aaa;
$custom-light: #7e88c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5aaa",
  "rgb": {
    "r": 63,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 224.86,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48868,
    "c": 0.13174,
    "h": 267.4
  },
  "luminance": 0.11271
}

Semantic roles & 50–950 ramp

primary
#3F5AAA
secondary
#C0B185
accent
#B452D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F5AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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