#3F5BAD#3F5BAD

#3F5BAD is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.3% C 0.135 H 267.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#3F5BAD
RGBrgb(63, 91, 173)
HSLhsl(225, 47%, 46%)
HSVhsv(225, 64%, 68%)
CMYKcmyk(63.6%, 47.4%, 0%, 32.2%)
CIE-LABlab(40.50, 16.25, -47.07)
CIE-LCHlch(40.50, 49.80, 289.05°)
OKLaboklab(49.29% -0.0066 -0.1346)
OKLCHoklch(49.29% 0.135 267.2)
XYZxyz(13.3312, 11.5549, 41.0548)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5BAD #AD913F
analogous
#3F92AD #3F5BAD #5A3FAD
triadic
#3F5BAD #AD3F5B #5BAD3F
tetradic
#3F5BAD #AD3F92 #AD913F #3FAD5A
square
#3F5BAD #AD3F92 #AD913F #3FAD5A
split-complementary
#3F5BAD #AD5A3F #92AD3F
monochromatic
#1E2C53 #2F4380 #3F5BAD #637CC6 #90A2D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F5BAD#FFFFFF#000000##FFFFFF
##3F5BAD1.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)
#3265B0
Deuteranopia (green-blind)
#1E5BAB
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3f5bad;
/* rgb */ color: rgb(63, 91, 173);
/* oklch */ color: oklch(49.3% 0.135 267.2);
Tailwind
colors: {
  custom: {
    50: '#7f89c6',
    500: '#3f5bad',
    950: '#000000',
  },
}
SCSS
$custom: #3f5bad;
$custom-light: #7f89c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5bad",
  "rgb": {
    "r": 63,
    "g": 91,
    "b": 173
  },
  "hsl": {
    "h": 224.727,
    "s": 46.61,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49286,
    "c": 0.13476,
    "h": 267.2
  },
  "luminance": 0.11556
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F5BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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