#3F5AC9#3F5AC9

#3F5AC9 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.1% C 0.175 H 269.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#3F5AC9
RGBrgb(63, 90, 201)
HSLhsl(228, 56%, 52%)
HSVhsv(228, 69%, 79%)
CMYKcmyk(68.7%, 55.2%, 0%, 21.2%)
CIE-LABlab(42.13, 26.92, -60.79)
CIE-LCHlch(42.13, 66.49, 293.88°)
OKLaboklab(51.13% -0.003 -0.175)
OKLCHoklch(51.13% 0.175 269)
XYZxyz(16.2451, 12.5845, 56.8200)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5AC9 #C9AE3F
analogous
#3F9FC9 #3F5AC9 #693FC9
triadic
#3F5AC9 #C93F5A #5AC93F
tetradic
#3F5AC9 #C93F9F #C9AE3F #3FC969
square
#3F5AC9 #C93F9F #C9AE3F #3FC969
split-complementary
#3F5AC9 #C9693F #9FC93F
monochromatic
#1F2F6F #2D439E #3F5AC9 #6F83D6 #9FACE4

Accessibility & contrast

On white

5.97
#3F5AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#3F5AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5AC9
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5AC9#FFFFFF#000000##FFFFFF
##3F5AC91.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACD
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3f5ac9;
/* rgb */ color: rgb(63, 90, 201);
/* oklch */ color: oklch(51.1% 0.175 269.0);
Tailwind
colors: {
  custom: {
    50: '#8488da',
    500: '#3f5ac9',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ac9;
$custom-light: #8488da;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ac9",
  "rgb": {
    "r": 63,
    "g": 90,
    "b": 201
  },
  "hsl": {
    "h": 228.261,
    "s": 56.098,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51127,
    "c": 0.175,
    "h": 269
  },
  "luminance": 0.12586
}

Semantic roles & 50–950 ramp

primary
#3F5AC9
secondary
#D0C494
accent
#C248DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F5AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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