#3F5AAF#3F5AAF

#3F5AAF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.2% C 0.139 H 267.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#3F5AAF
RGBrgb(63, 90, 175)
HSLhsl(226, 47%, 47%)
HSVhsv(226, 64%, 69%)
CMYKcmyk(64%, 48.6%, 0%, 31.4%)
CIE-LABlab(40.35, 17.61, -48.50)
CIE-LCHlch(40.35, 51.59, 289.96°)
OKLaboklab(49.21% -0.0053 -0.1388)
OKLCHoklch(49.21% 0.139 267.8)
XYZxyz(13.4413, 11.4630, 42.0534)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5AAF #AF943F
analogous
#3F92AF #3F5AAF #5C3FAF
triadic
#3F5AAF #AF3F5A #5AAF3F
tetradic
#3F5AAF #AF3F92 #AF943F #3FAF5C
square
#3F5AAF #AF3F92 #AF943F #3FAF5C
split-complementary
#3F5AAF #AF5C3F #92AF3F
monochromatic
#1F2C55 #2F4382 #3F5AAF #647CC7 #91A2D7

Accessibility & contrast

On white

6.38
#3F5AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#3F5AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5AAF
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5AAF#FFFFFF#000000##FFFFFF
##3F5AAF1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E64B2
Deuteranopia (green-blind)
#175AAD
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3f5aaf;
/* rgb */ color: rgb(63, 90, 175);
/* oklch */ color: oklch(49.2% 0.139 267.8);
Tailwind
colors: {
  custom: {
    50: '#7f88c7',
    500: '#3f5aaf',
    950: '#000000',
  },
}
SCSS
$custom: #3f5aaf;
$custom-light: #7f88c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5aaf",
  "rgb": {
    "r": 63,
    "g": 90,
    "b": 175
  },
  "hsl": {
    "h": 225.536,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49213,
    "c": 0.13889,
    "h": 267.8
  },
  "luminance": 0.11464
}

Semantic roles & 50–950 ramp

primary
#3F5AAF
secondary
#C3B487
accent
#B651D7
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F5AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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