#3F5AC8#3F5AC8

#3F5AC8 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.0% C 0.174 H 269.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#3F5AC8
RGBrgb(63, 90, 200)
HSLhsl(228, 55%, 52%)
HSVhsv(228, 69%, 78%)
CMYKcmyk(68.5%, 55%, 0%, 21.6%)
CIE-LABlab(42.06, 26.56, -60.33)
CIE-LCHlch(42.06, 65.92, 293.76°)
OKLaboklab(51.05% -0.003 -0.1736)
OKLCHoklch(51.05% 0.174 269)
XYZxyz(16.1278, 12.5377, 56.2024)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5AC8 #C8AD3F
analogous
#3F9FC8 #3F5AC8 #693FC8
triadic
#3F5AC8 #C83F5A #5AC83F
tetradic
#3F5AC8 #C83F9F #C8AD3F #3FC869
square
#3F5AC8 #C83F9F #C8AD3F #3FC869
split-complementary
#3F5AC8 #C8693F #9FC83F
monochromatic
#1F2F6D #2D439D #3F5AC8 #6F83D6 #9EACE3

Accessibility & contrast

On white

5.99
#3F5AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#3F5AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5AC8
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5AC8#FFFFFF#000000##FFFFFF
##3F5AC81.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3f5ac8;
/* rgb */ color: rgb(63, 90, 200);
/* oklch */ color: oklch(51.0% 0.174 269.0);
Tailwind
colors: {
  custom: {
    50: '#8488d9',
    500: '#3f5ac8',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ac8;
$custom-light: #8488d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ac8",
  "rgb": {
    "r": 63,
    "g": 90,
    "b": 200
  },
  "hsl": {
    "h": 228.175,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5105,
    "c": 0.17365,
    "h": 269
  },
  "luminance": 0.12539
}

Semantic roles & 50–950 ramp

primary
#3F5AC8
secondary
#D0C493
accent
#C149DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F5AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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